+ Reply to Thread
Results 1 to 5 of 5

VBA help needed to search a text string then select range.

  1. #1
    Forum Contributor
    Join Date
    10-30-2011
    Location
    Doha
    MS-Off Ver
    MS office 365
    Posts
    701

    VBA help needed to search a text string then select range.

    Folks,

    I need a macro to search a text string ("Overall Summary") in Column A then select used range xldown and xlright (but skip column "B" and last row).

    I have attached the work book of what I am trying to accomplish.


    Thanks in advance for your time and expertise.

    Joshi
    Attached Files Attached Files
    Last edited by krjoshi; 06-03-2014 at 12:55 PM.
    Cheers,

    Joshi
    Being with a winner makes you a winner

  2. #2
    Forum Guru
    Join Date
    08-26-2007
    Location
    London
    Posts
    4,606

    Re: VBA help needed to search a text string then select range.

    This should do what you want, but selecting doesn't seem very useful.
    Please Login or Register  to view this content.

  3. #3
    Forum Expert
    Join Date
    07-15-2012
    Location
    Leghorn, Italy
    MS-Off Ver
    Excel 2010
    Posts
    3,431

    Re: VBA help needed to search a text string then select range.

    Please Login or Register  to view this content.
    If solved remember to mark Thread as solved

  4. #4
    Forum Contributor
    Join Date
    10-30-2011
    Location
    Doha
    MS-Off Ver
    MS office 365
    Posts
    701

    Re: VBA help needed to search a text string then select range.

    Thanks Stephen. Its working perfectly.

    The purpose of the selection is to give a range name as "MyRangeChart7" to set data source for a chart.

    Actually I forgot to say that.

    Thank you so much once again.

    Joshi

  5. #5
    Forum Guru
    Join Date
    08-26-2007
    Location
    London
    Posts
    4,606

    Re: VBA help needed to search a text string then select range.

    My pleasure Joshi. As patel45 has gone to the bother of also providing a solution, perhaps you'd like to acknowledge that even if you don't use it.

+ 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. [SOLVED] Using a discrete range of keywords, search a text string for match
    By Ian99 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 06-24-2012, 11:40 AM
  2. [SOLVED] VBA String Needed to Select Range
    By jbmerrel in forum Excel General
    Replies: 3
    Last Post: 05-03-2012, 12:58 PM
  3. [SOLVED] Search Range and Return # of times a Text String occurs
    By Schwartz in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-02-2012, 04:23 PM
  4. Replies: 5
    Last Post: 03-08-2012, 01:50 AM
  5. Search text string for range of text values - return match
    By crugg in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 08-03-2010, 09:55 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