+ Reply to Thread
Results 1 to 2 of 2

Message Box if String is Present in a Column

  1. #1
    Forum Contributor
    Join Date
    11-28-2005
    Location
    Dover, England
    MS-Off Ver
    365
    Posts
    172

    Message Box if String is Present in a Column

    I import a lot of data from a CSV file (TanDATA) which I manipulate using VBA. However, after importing the data I do a manual search for string "PLAS2" in column I of my worksheet. What I would like to do is search the TanData.CSV file and be provided a Yes/No message box telling I have "PLAS2 present in the data do I wish to continue". Thanks

  2. #2
    Forum Guru
    Join Date
    07-25-2011
    Location
    Florida
    MS-Off Ver
    Excel 2003
    Posts
    9,652

    Re: Message Box if String is Present in a Column

    Try something like this...
    Please Login or Register  to view this content.
    Surround your VBA code with CODE tags e.g.;
    [CODE]your VBA code here[/CODE]
    The # button in the forum editor will apply CODE tags around your selected text.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. values from range present in string?
    By nielsb in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 01-23-2015, 12:30 PM
  2. [SOLVED] VBA message box based on text being present
    By LewisK in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 12-09-2014, 07:55 AM
  3. Replies: 2
    Last Post: 09-03-2014, 03:37 AM
  4. [SOLVED] VBA Macros to add text to present string by clicking
    By hecgroups in forum Excel Programming / VBA / Macros
    Replies: 37
    Last Post: 03-27-2012, 04:21 PM
  5. Look Up String In Range; If present, Set next Cell to '1'
    By Snoopy2010 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 08-27-2010, 10:58 AM
  6. Removing text from a string if present, otherwise leave as-is
    By wace in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-19-2010, 09:00 AM
  7. Searching for a string and then performing an action if present
    By matpj in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-23-2005, 07:22 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1