+ Reply to Thread
Results 1 to 7 of 7

Copy rows across multple sheets

  1. #1
    Forum Contributor
    Join Date
    05-02-2015
    Location
    calgary alberta
    MS-Off Ver
    2012
    Posts
    205

    Copy rows across multple sheets

    first time still fairly new to excel and self taught so moving slowly, what I would like to do is copy multiple rows from multiple sheets, all sheets are labeled by months to a new sheet, labeled for now "other". I would like to be able to type in the category on the other sheet then press the "find button" to return all results across all sheets. all of my data will be entered on C48:I9999, there will be multiple entries in each category from each sheet. the row I would like the search performed in would be H48 and down, but I would like to include column I48 and down as it will have a basic description. as this is my first time I hope this gives you enough info, I have attached a picture of my workbook for reference. thank you in advance
    Attached Files Attached Files

  2. #2
    Forum Guru sktneer's Avatar
    Join Date
    04-30-2011
    Location
    Kanpur, India
    MS-Off Ver
    Office 365
    Posts
    9,648

    Re: Copy rows across multple sheets

    I think you don't need the Find button on the Other Sheet so I have removed this.
    Now once you type the category in C2 (Yellow cell), the worksheet change event code present on Other Sheet Module will look for records belonging to the category entered in all the worksheets except Other and Formulas Sheets and place the records if found below the headers row.

    Please find the attached workbook to see if this works as per your requirement.
    To view the code --> Right Click on Other Sheet Tab --> View Code
    Attached Files Attached Files
    Regards
    sktneer


    Treat people the way you want to be treated. Talk to people the way you want to be talked to.
    Respect is earned NOT given.

  3. #3
    Forum Contributor
    Join Date
    05-02-2015
    Location
    calgary alberta
    MS-Off Ver
    2012
    Posts
    205

    Re: Copy rows across multple sheets

    thank you for your quick response, I guess I should have been a little more precise, I just added a data validation box to sheet "other" C3, when I choose a category from there i would like it to find and copy all rows from #48 and down in all sheets "month" that meet the same data validation list found in H48 and down, essentially consolidating all like type transactions, into one sheet labelled "other" with the ability to cycle through all categories. i re attached the link with the new data list in C3
    Attached Files Attached Files

  4. #4
    Forum Guru sktneer's Avatar
    Join Date
    04-30-2011
    Location
    Kanpur, India
    MS-Off Ver
    Office 365
    Posts
    9,648

    Re: Copy rows across multple sheets

    I think the code does exactly what you are saying.
    Please populate some rows manually on the Other Sheet and highlight the rows on month sheets which you want to extract on the Other sheet after the code is executed.

  5. #5
    Forum Contributor
    Join Date
    05-02-2015
    Location
    calgary alberta
    MS-Off Ver
    2012
    Posts
    205

    Re: Copy rows across multple sheets

    I just copied and pasted all my original data and it doesn't seem to populate anything on the "other" sheet regardless of what category I choose, am I maybe doing something wrong in getting the macro to run or should it run automatically. again thank you for your time, my wife would like to see all our categorized spending throughout the year as she pleases

  6. #6
    Forum Guru sktneer's Avatar
    Join Date
    04-30-2011
    Location
    Kanpur, India
    MS-Off Ver
    Office 365
    Posts
    9,648

    Re: Copy rows across multple sheets

    Please find the workbook. I selected Other from the drop down lit and see the output populated below. Isn't it what you are trying to achieve?
    Attached Files Attached Files

  7. #7
    Forum Contributor
    Join Date
    05-02-2015
    Location
    calgary alberta
    MS-Off Ver
    2012
    Posts
    205

    Re: Copy rows across multple sheets

    worked like a charm thank you very much, one day ill learn to write in VBA like that, im getting good with formulas just need to go to the next step now, again thank you

+ 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] Combining Countifs, frequency, multple Sheets
    By her.rockstar in forum Excel General
    Replies: 2
    Last Post: 03-03-2014, 07:35 AM
  2. Need Help with a VBA that updates similar tables in multple sheets
    By rjnewsome in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-27-2013, 06:18 PM
  3. Replies: 9
    Last Post: 11-30-2011, 09:06 AM
  4. Continuous Entry count over multple sheets
    By Cristel3 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 03-12-2009, 06:54 PM
  5. Replies: 0
    Last Post: 08-14-2006, 06: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