+ Reply to Thread
Results 1 to 2 of 2

Copying all instances of a row match to another sheet

  1. #1
    Registered User
    Join Date
    07-13-2012
    Location
    United States
    MS-Off Ver
    Excel 2010
    Posts
    47

    Copying all instances of a row match to another sheet

    The below code copies over a row from Sheet1 that contains a certain criteria (input via msgbox) to Sheet2. Every time it's run, it will stack these rows into Sheet2, one after the other, without overwriting anything.

    I love this macro. It works perfectly for me...except for one problem. It only copies over one instance of each match. I would like it to copy over all instances - multiple rows if they exist. How can I do this?

    I would prefer not start over with a new code unless necessary.

    Thanks!

    Please Login or Register  to view this content.

  2. #2
    Forum Expert Mumps1's Avatar
    Join Date
    10-10-2012
    Location
    Toronto, Canada
    MS-Off Ver
    Excel 2010, 2013
    Posts
    7,833

    Re: Copying all instances of a row match to another sheet

    Is the data you are searching for in one particular column or can it be anywhere on your sheet?

+ 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