+ Reply to Thread
Results 1 to 4 of 4

Find specific value in a cell, select the cell and copy all cells beneath

  1. #1
    Registered User
    Join Date
    01-23-2010
    Location
    United States
    MS-Off Ver
    Excel 2007
    Posts
    52

    Talking Find specific value in a cell, select the cell and copy all cells beneath

    I have been trying to get this to work. I thought I was going in the right direction, but it's not working for me.

    I want the macro to find a cell containing a specific text. Once that cell is found, I want all cells beneath it that contain a non blank to be copied.

    Any help would be appreciated.

    Please Login or Register  to view this content.
    Last edited by Mothman; 09-19-2010 at 11:25 PM.

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,463

    Re: Find specific value in a cell, select the cell and copy all cells beneath

    OK, this works

    Please Login or Register  to view this content.

    Or, without all the selecting and swapping sheets

    Please Login or Register  to view this content.

    Regards

  3. #3
    Registered User
    Join Date
    01-23-2010
    Location
    United States
    MS-Off Ver
    Excel 2007
    Posts
    52

    Re: Find specific value in a cell, select the cell and copy all cells beneath

    Cool I was pretty close, just had one extra thing on there that was preventing it from working. Thanks for the help again!

  4. #4
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,463

    Re: Find specific value in a cell, select the cell and copy all cells beneath

    Two things ... ;-)

    MatchCase:=False, SearchFormat:=False).Activate

    Range(MyRange, Range(MyRange).End(xlDown)).Copy


    Regards

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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