+ Reply to Thread
Results 1 to 3 of 3

Copy criteria from multiple sheets into one

  1. #1
    Registered User
    Join Date
    01-27-2009
    Location
    USA
    MS-Off Ver
    Excel 2010
    Posts
    54

    Copy criteria from multiple sheets into one

    Hi I have a work book with a lot of sheets.

    I'm trying to copy only the rows in each sheet with the below criteria into "Sheet1" with the name of the sheet

    So sheet 2 would copy into Sheet on starting at A1 = Sheet name; A2 = "%SET Pkg_Path% A3 = "%SET Pkg_Nm%
    then repeat for Sheet 3 starting on A4

    I know the looping numbers are off and not sure of another way to do this.

    Please advise!

    Please Login or Register  to view this content.
    Last edited by k2hunter; 04-10-2019 at 01:09 PM.

  2. #2
    Forum Expert JLGWhiz's Avatar
    Join Date
    02-20-2011
    Location
    Florida, USA
    MS-Off Ver
    Windows 10, Excel 2013
    Posts
    2,070

    Re: Copy criteria from multiple sheets into one

    As long as you don't have more than one occurrence of each cirteria on the same row, this should work for you.

    Please Login or Register  to view this content.
    Any code provided by me should be tested on a copy or a mock up of your original data before applying it to the original. Some events in VBA cannot be reversed with the undo facility in Excel. If your original post is satisfied, please mark the thread as "Solved". To upload a file, see the banner at top of this page.
    Just when I think I am smart, I learn something new!

  3. #3
    Registered User
    Join Date
    01-27-2009
    Location
    USA
    MS-Off Ver
    Excel 2010
    Posts
    54

    Re: Copy criteria from multiple sheets into one

    After running the code it appears that nothing is being transferred to the first sheet.

+ 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. How to Copy Rows from multiple sheets onto another that match certain criteria
    By zlongshot in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-31-2018, 01:52 AM
  2. [SOLVED] VBA Copy and Paste on criteria match through multiple sheets
    By ExcelKing424 in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 03-06-2018, 06:44 AM
  3. Copy Rows from multiple sheets into one based on criteria
    By jh51745 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 11-18-2016, 09:05 PM
  4. [SOLVED] VBA Auto copy rows to multiple sheets by criteria
    By Freshlight in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 01-22-2014, 04:58 AM
  5. Search multiple sheets for value based on criteria and copy data accordingly
    By Zagadka in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-31-2012, 08:46 AM
  6. Replies: 1
    Last Post: 07-29-2011, 05:03 AM
  7. Copy data from multiple sheets based on certain criteria!!
    By missyk77 in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 08-24-2010, 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