+ Reply to Thread
Results 1 to 7 of 7

Need help with a macro to filter data and paste it in the corresponding worksheet

  1. #1
    Forum Contributor
    Join Date
    03-14-2013
    Location
    Maryland, USA
    MS-Off Ver
    Excel 365
    Posts
    105

    Red face Need help with a macro to filter data and paste it in the corresponding worksheet

    Hello All,

    I'm back the these very resoucefull forum, I've been looking for a macro that can sort a columm and paste the sorted data into its matching worksheet at the next available row, I've been trying to addapt a macro i found on othe forum but it mess up my sheets.

    Ok, the file contain several worksheet, the first one is call All, using othe macro i was able to import all the data to this sheet, but having problem to filter it base on cell content in columm C and copy paste the filtered data in its corresponding worksheet.

    Any help is highly appreciated,

    Thank you in advance to the wonderfull people i had found in this form and for all thiers help
    attached is the sample file

    Alex
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    06-12-2012
    Location
    Ridgefield Park, New Jersey
    MS-Off Ver
    Excel 2003,2007,2010
    Posts
    10,241

    Re: Need help with a macro to filter data and paste it in the corresponding worksheet

    Maybe:

    Please Login or Register  to view this content.

  3. #3
    Forum Expert
    Join Date
    03-28-2012
    Location
    TBA
    MS-Off Ver
    Office 365
    Posts
    12,454

    Re: Need help with a macro to filter data and paste it in the corresponding worksheet

    Try the attached.
    Attached Files Attached Files
    Last edited by AB33; 12-16-2013 at 04:43 PM.

  4. #4
    Forum Contributor
    Join Date
    03-14-2013
    Location
    Maryland, USA
    MS-Off Ver
    Excel 365
    Posts
    105

    Re: Need help with a macro to filter data and paste it in the corresponding worksheet

    Dear Davis and AB33,

    Thank you very much for your fast responses, I will test the macros tomorrow as soon I get to work, I really appreciate your time and wiliness in helping me with this matter.

    Thank you again,

    Alex

  5. #5
    Forum Contributor
    Join Date
    03-14-2013
    Location
    Maryland, USA
    MS-Off Ver
    Excel 365
    Posts
    105

    Smile Re: Need help with a macro to filter data and paste it in the corresponding worksheet

    Ok,

    I'm back with the result of the two approach, Davis whe i put the code on the actual book only copy one set of filtered data and paste it in all the worksheet, with some fixing it will do the job.

    AB33, Your code is amazing, I had tried it on different workbooks and work perfectly. Now the the second part of the problem is that I also need to create a separated worksheet with the two main group of data on the sheet "ALL", I would call the group 1 and group 2.
    I had applied filter and sort to the ALL sheet and columms F and G determined the separation of the two group, the F=YES should be pasted on group 1 and G=YEs on group 2, Could you kindly help me with this part.

    I really appreciate the time you two had put on this matter.

    Thank you in advance,

    I had attached the new file

    Alex
    Attached Files Attached Files

  6. #6
    Forum Expert
    Join Date
    03-28-2012
    Location
    TBA
    MS-Off Ver
    Office 365
    Posts
    12,454

    Re: Need help with a macro to filter data and paste it in the corresponding worksheet

    Try the attached.
    Attached Files Attached Files

  7. #7
    Forum Contributor
    Join Date
    03-14-2013
    Location
    Maryland, USA
    MS-Off Ver
    Excel 365
    Posts
    105

    Re: Need help with a macro to filter data and paste it in the corresponding worksheet

    HI AB33,

    It can not be better than that, my respect to your expertise.
    you save me a lot of time, just put it in a big load of data and wrok perfectly.

    Thanks for your help.

    I really appreaciate it.
    Alex

+ 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. Macro to copy data from one worksheet and paste to another worksheet
    By robertmiller in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-01-2013, 09:56 AM
  2. Macro to Copy/Paste Cells if Data is found with Filter
    By CMPidgeon in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 11-16-2012, 04:05 PM
  3. [SOLVED] Macro to Filter Data and Paste in new Workbooks
    By willy91785 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 10-19-2010, 11:14 AM
  4. how to filter and copy data from one sheet and paste to new worksheet
    By mr_asrul in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 06-03-2008, 07:15 AM
  5. Replies: 5
    Last Post: 03-18-2006, 08:45 AM

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