+ Reply to Thread
Results 1 to 9 of 9

Filtering data then copy pasting to a new workbook

  1. #1
    Registered User
    Join Date
    02-21-2017
    Location
    bloomfield, NJ
    MS-Off Ver
    2016
    Posts
    29

    Filtering data then copy pasting to a new workbook

    Hello and thank you for your aid.

    I have the below script within my macro that filters my data then copy pastes it into a new workbook. I cannot figure out how to have the data saved accurately into the second workbook. I have attached my workbook here.

    Thank you

    Please Login or Register  to view this content.
    Attached Files Attached Files
    Last edited by bkramer1; 02-23-2022 at 03:44 PM.

  2. #2
    Forum Expert
    Join Date
    05-29-2020
    Location
    NH USA
    MS-Off Ver
    365
    Posts
    2,103

    Re: Filtering data then copy pasting to a new workbook

    When you say the data is not copied accurately, what do you mean? Do you mean you only want the filtered lines? Or are the data elements not showing up like you want?

  3. #3
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2406
    Posts
    44,603

    Re: Filtering data then copy pasting to a new workbook

    Administrative Note:

    Welcome to the forum.

    We would very much like to help you with your query, however you need to include code tags around your code.

    Please take a moment to add the tags. Posting code between [code]Please [url=https://www.excelforum.com/login.php]Login or Register [/url] to view this content.[/code] tags makes your code much easier to read and copy for testing, and it also maintains VBA formatting.

    Please see Forum Rule #2 about code tags and adjust accordingly. Click on Edit to open your post, then highlight your code and click the # icon at the top of your post window. More information about these and other tags can be found here

    (Note: this change is not optional. No help to be offered until this moderation request has been fulfilled.)
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU

  4. #4
    Registered User
    Join Date
    02-21-2017
    Location
    bloomfield, NJ
    MS-Off Ver
    2016
    Posts
    29

    Re: Filtering data then copy pasting to a new workbook

    Hello Maniac,

    I only want the filtered data showing up on the new worksheet. I'm not sure if this is a selection special visible cells only issue. Or if there's something else I'm not seeing.

  5. #5
    Registered User
    Join Date
    02-21-2017
    Location
    bloomfield, NJ
    MS-Off Ver
    2016
    Posts
    29

    Re: Filtering data then copy pasting to a new workbook

    Hello Glenn,

    Thank you and my apologies.

  6. #6
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2406
    Posts
    44,603

    Re: Filtering data then copy pasting to a new workbook

    Thanks! over to others... as I don't understand VBA!!

  7. #7
    Registered User
    Join Date
    02-21-2017
    Location
    bloomfield, NJ
    MS-Off Ver
    2016
    Posts
    29

    Re: Filtering data then copy pasting to a new workbook

    since I'm a infrequent user and an idiot I posted this thread twice. below is the solution provided by a forum expert. marking this thread as solved. thank you to those who came to my aid!

    Please Login or Register  to view this content.

  8. #8
    Forum Expert
    Join Date
    11-24-2013
    Location
    Paris, France
    MS-Off Ver
    Excel 2003 / 2010
    Posts
    9,831

    Arrow Re: Filtering data then copy pasting to a new workbook


    Or just using an easy advanced filter like demonstrated in your duplicate thread …

  9. #9
    Registered User
    Join Date
    02-21-2017
    Location
    bloomfield, NJ
    MS-Off Ver
    2016
    Posts
    29

    Re: Filtering data then copy pasting to a new workbook

    Thank you Marc L,

    Correct! I sent a message yesterday to the moderators asking that they remove one of the duplicate threads. I erred when i created the double post. Regardless wanted to leave a solution to my query for the next individual who showed up on the website looking for the same question.

    All the best,

+ 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. Copy Range of Data from Closed Workbook into Open Workbook, Pasting in Last Row
    By Theken67 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-14-2021, 07:17 PM
  2. Filtering data sets and pasting in new workbook
    By myself4u58 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-20-2020, 04:09 AM
  3. Macro for filtering raw data,copy/ pasting and sorting based on conditions
    By amazingjeffery in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 05-17-2013, 02:45 AM
  4. Filtering in another workbook, copying filtered data and pasting in source workbook
    By saadtariq in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-13-2012, 12:55 PM
  5. Filtering, Copying and Pasting Data from one Workbook to Another...
    By mtt23 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 03-09-2012, 12:42 AM
  6. Replies: 0
    Last Post: 08-11-2011, 01:23 AM
  7. Filtering data and pasting into another workbook (v2.0)
    By longbow007 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-26-2010, 01:07 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