+ Reply to Thread
Results 1 to 4 of 4

Add ability to copy only the visible data into an existing macro

  1. #1
    Registered User
    Join Date
    04-16-2014
    Location
    vancouver
    MS-Off Ver
    Excel 2007
    Posts
    18

    Add ability to copy only the visible data into an existing macro

    Hi,

    I've got a macro that copies and transposes several columns of data from one sheet onto a new sheet. I'd like to add the ability to filter the data on Sheet 1 and have only the filtered data copied over to the new sheet.

    I've uploaded a sample of what I'm trying to do and I really appreciate any help / advice people might have.

    Thanks!
    Attached Files Attached Files

  2. #2
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Add ability to copy only the visible data into an existing macro

    Maybe this is all you need?

    Please Login or Register  to view this content.
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

  3. #3
    Registered User
    Join Date
    04-16-2014
    Location
    vancouver
    MS-Off Ver
    Excel 2007
    Posts
    18

    Re: Add ability to copy only the visible data into an existing macro

    Thanks for the quick response, JBeaucaire. That's getting me part of the way there... It still is copying all of the cells from column G instead of just of the filtered values.

  4. #4
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: Add ability to copy only the visible data into an existing macro

    Not sure what is your filter criteria and the expected outcome

    Please add some headers in your expected result sheet for better understanding


    If your problem is solved, then please mark the thread as SOLVED>>Above your first post>>Thread Tools>>
    Mark your thread as Solved


    If the suggestion helps you, then Click *below to Add Reputation

  5. #5
    Registered User
    Join Date
    04-16-2014
    Location
    vancouver
    MS-Off Ver
    Excel 2007
    Posts
    18

    Re: Add ability to copy only the visible data into an existing macro

    I had an older thread with a similar problem and Joakim N was able to put something together that does the trick. I've uploaded it in case anyone is curious or comes across something like this themselves.
    Attached Files Attached Files

+ 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. Replies: 11
    Last Post: 11-04-2013, 04:32 PM
  2. Replies: 3
    Last Post: 10-14-2013, 03:06 PM
  3. [SOLVED] Macro: Copy text values of Visible cells (on a FILTERED data)
    By rampal in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-24-2013, 06:12 AM
  4. Macro to copy row into existing worksheet when data entered
    By Backroads23 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-13-2012, 02:31 AM
  5. Macro to filter and copy visible data to a New Work Book
    By Mysore in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 03-15-2012, 11:44 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