+ Reply to Thread
Results 1 to 1 of 1

Search a string in first cell of each column and then get the column name

  1. #1
    Registered User
    Join Date
    05-13-2015
    Location
    New Zealand
    MS-Off Ver
    2010
    Posts
    1

    Search a string in first cell of each column and then get the column name

    Hi All,

    I am totally new to the macros and VB scripting. Currently I am trying to Search a string in first cell of each column and the get the name of that column which will help me to plot the graph for that particular column.

    I am able to write the code to search the entered string but not able to the corresponding column name. Can you please help me here to write the code.

    Thanks a lot in advance.

    Thanks,
    Tanaji

  2. #2
    Forum Expert OllieB's Avatar
    Join Date
    12-20-2012
    Location
    Netherlands
    MS-Off Ver
    Excel 2007 (home) & 2010 (office)
    Posts
    1,542

    Re: Search a string in first cell of each column and then get the column name

    You can try

    Please Login or Register  to view this content.
    If you like my contribution click the star icon!

  3. #3
    Forum Expert OllieB's Avatar
    Join Date
    12-20-2012
    Location
    Netherlands
    MS-Off Ver
    Excel 2007 (home) & 2010 (office)
    Posts
    1,542

    Re: Search a string in first cell of each column and then get the column name

    You can try

    Please Login or Register  to view this content.

+ 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. Search column for string and date then search adjacent cell and pop up message
    By ftwobtwo in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 11-06-2014, 09:55 AM
  2. Replies: 1
    Last Post: 04-23-2012, 10:27 AM
  3. Replies: 1
    Last Post: 07-26-2011, 06:48 AM
  4. Replies: 3
    Last Post: 07-16-2010, 09:45 AM
  5. [SOLVED] URGENT -- search in string for a value in another column, if found, return value from next column
    By samkshah in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 10-03-2005, 12:05 PM

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