+ Reply to Thread
Results 1 to 6 of 6

VBA macro to extract specific rows and paste them onto a new sheet

  1. #1
    Forum Contributor
    Join Date
    05-09-2013
    Location
    Mauritius
    MS-Off Ver
    Excel 2010
    Posts
    116

    VBA macro to extract specific rows and paste them onto a new sheet

    Hi all,

    I am using Excel 2010. I have hundred of Excel worksheets where I need to extract certain specific rows and paste them onto a new worksheet. I am wondering if someone can help with a macro to perform this task rather than the tedious Copy/Paste procedure.
    I am enclosing a copy of the worksheet (Sheet 1) and the final output as desired (Sheet 2). All the worksheets where I will need to run the macro are of the same format as the one enclosed (Sheet 1).

    Thank you for looking into my problem!

    EBA INTAKE 16 JULY.xlsx

  2. #2
    Forum Contributor
    Join Date
    07-24-2012
    Location
    Denver, CO
    MS-Off Ver
    365
    Posts
    230

    Re: VBA macro to extract specific rows and paste them onto a new sheet

    Its a simple task if you have a specific criteria that is involved with every single row you wish to take out. I'm thinking I'll write some code that pulls out every line with a number value in column M, under the "Total Rate", excluding the last (Total) line. Would that work?
    ~~LaffyAffy13~~

    If I have helped you solve your problem, please be sure to click at the bottom left of my post.

    Thanks.

  3. #3
    Forum Contributor
    Join Date
    05-09-2013
    Location
    Mauritius
    MS-Off Ver
    Excel 2010
    Posts
    116

    Re: VBA macro to extract specific rows and paste them onto a new sheet

    Quote Originally Posted by LaffyAffy13 View Post
    Its a simple task if you have a specific criteria that is involved with every single row you wish to take out. I'm thinking I'll write some code that pulls out every line with a number value in column M, under the "Total Rate", excluding the last (Total) line. Would that work?
    That sounds interesting. Grateful if you could give it a try!

  4. #4
    Forum Contributor
    Join Date
    07-24-2012
    Location
    Denver, CO
    MS-Off Ver
    365
    Posts
    230

    Re: VBA macro to extract specific rows and paste them onto a new sheet

    Let me know if this works

    Please Login or Register  to view this content.

  5. #5
    Forum Contributor
    Join Date
    05-09-2013
    Location
    Mauritius
    MS-Off Ver
    Excel 2010
    Posts
    116

    Re: VBA macro to extract specific rows and paste them onto a new sheet

    Thanks a lot LaffyAffy13! I will most probably need a small modification to the code (if possible) to perform something specific to that sheet. I will get back to you later on that in this same thread! Thanks a lot again!

  6. #6
    Forum Contributor
    Join Date
    07-24-2012
    Location
    Denver, CO
    MS-Off Ver
    365
    Posts
    230

    Re: VBA macro to extract specific rows and paste them onto a new sheet

    Ok that sounds good. If you do post back, please send me a private message afterward with a link to this thread so that I know you have posted again. My email isn't set up correctly and I may not know that you have posted unless you tell me so. Good luck!

+ 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. Extract rows to another sheet based on specific words + auto updates
    By scooter2012 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 10-13-2022, 09:17 PM
  2. MAcro to extract rows matching a criteria and paste in another sheet
    By vandana_karthik in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 01-08-2013, 01:24 AM
  3. [SOLVED] Need help, macro to find all rows with specific value, cut and paste to a different sheet
    By dieseldogpi in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-13-2012, 02:47 PM
  4. Macro to extract data from multiple workbooks, specific sheet, specific cells
    By crissandraauree in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 05-29-2012, 03:54 PM
  5. Replies: 0
    Last Post: 07-21-2011, 05:13 PM

Tags for this Thread

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