+ Reply to Thread
Results 1 to 4 of 4

Search for text in multiple columns with same heading - excel Macro

  1. #1
    Registered User
    Join Date
    07-30-2013
    Location
    Hyderabad, India
    MS-Off Ver
    Excel 2010
    Posts
    2

    Search for text in multiple columns with same heading - excel Macro

    Hi Team,

    I am very new to excel macros. I tried to write a macro for one of our requirements.

    The macro renames the department based on the list of managers corresponding to that department.
    It should search for a manager name in the columns H to Q and accordingly rename the department. But it is searching only column H. Please help me out. The macro text for your reference.

    Please Login or Register  to view this content.
    The format of excel sheet is as follows. (headings)

    Number Short description Opened by Change Owner Department This Change Request is Unauthorized Reason Manager Manager Manager Manager Manager Manager Manager Manager Manager Manager
    Last edited by anytimesampath; 07-30-2013 at 08:16 AM.

  2. #2
    Forum Expert
    Join Date
    06-12-2012
    Location
    Ridgefield Park, New Jersey
    MS-Off Ver
    Excel 2003,2007,2010
    Posts
    10,241

    Re: Search for text in multiple columns with same heading - excel Macro

    Please comply with Forum Rule No 3. when posting.

    3. Use code tags around code. Posting code without them makes your code hard to read and difficult to be copied for testing.

  3. #3
    Registered User
    Join Date
    07-30-2013
    Location
    Hyderabad, India
    MS-Off Ver
    Excel 2010
    Posts
    2

    Re: Search for text in multiple columns with same heading - excel Macro

    Hi,

    I am a newbie here. I have made the edits as suggested. Thanks a lot..

    Regards,
    Sampath

  4. #4
    Forum Expert
    Join Date
    06-12-2012
    Location
    Ridgefield Park, New Jersey
    MS-Off Ver
    Excel 2003,2007,2010
    Posts
    10,241

    Re: Search for text in multiple columns with same heading - excel Macro

    You're welcome. It helps for you to get a response, and welcome too the Forum. I'm tied up at the moment, but if no one else gets back to you I can take a look at your thread later.

+ 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. Macro Not Working for Search in Multiple Columns
    By vcs1161 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 03-07-2013, 03:42 PM
  2. importing info from text file with multiple heading through document to excel
    By neale scott in forum Excel Programming / VBA / Macros
    Replies: 14
    Last Post: 01-13-2013, 08:30 PM
  3. [SOLVED] Search multiple columns and return heading
    By Catsup in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 12-07-2012, 11:41 PM
  4. [Macro Help] Search Column in a Table and Return Heading
    By x3ldonx in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 10-30-2012, 06:18 PM
  5. [SOLVED] Trying to move columns based on heading text, PLEASE HELP
    By Brett Smith in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-10-2006, 02:50 PM

Tags for this Thread

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