+ Reply to Thread
Results 1 to 4 of 4

Copy Filtered Data on visible rows

  1. #1
    Registered User
    Join Date
    02-23-2015
    Location
    Calgary
    MS-Off Ver
    Office 2010
    Posts
    8

    Copy Filtered Data on visible rows

    Hello,

    I have another problem I am not sure is possible to code around. I filter my list sometimes more than a million rows and filter out certain criteria. Then I want to copy just the visible data which is the filtered data and paste it into another sheet. The problem is the data is so large I keep getting errors. I tried to reduce the data size and address it in chunks of 100,000 lines and do it 10 times but it is insanely slow and there has to be a better way right? This is the code I am using...

    Please Login or Register  to view this content.
    I have updated with code tags and the code does work but it takes close to 10 mins to run, I was wondering if I am doing it a really slow way and if it could be faster?
    Last edited by jamesbrightwell; 02-24-2015 at 09:27 PM.

  2. #2
    Forum Guru xladept's Avatar
    Join Date
    04-14-2012
    Location
    Pasadena, California
    MS-Off Ver
    Excel 2003,2010
    Posts
    12,378

    Re: Copy Filtered Data on visible rows

    Please Login or Register  to view this content.
    Doesn't Work

    Your post does not comply with Rule 3 of our Forum RULES. Use code tags around code.

    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, it also maintains VBA formatting.

    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
    If I've helped you, please consider adding to my reputation - just click on the liitle star at the left.

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~(Pride has no aftertaste.)

    You can't do one thing. XLAdept

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~aka Orrin

  3. #3
    Registered User
    Join Date
    02-23-2015
    Location
    Calgary
    MS-Off Ver
    Office 2010
    Posts
    8

    Re: Copy Filtered Data on visible rows

    I have updated the post, if you'd be so kind to review again?

  4. #4
    Forum Guru xladept's Avatar
    Join Date
    04-14-2012
    Location
    Pasadena, California
    MS-Off Ver
    Excel 2003,2010
    Posts
    12,378

    Re: Copy Filtered Data on visible rows

    I guess you're saying that the simple copy code doesn't work - can you:

    Attach a sample workbook. Make sure there is just enough data to demonstrate your need. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are shown, mock them up manually if necessary.

    Remember to desensitize the data.

    Click on GO ADVANCED and use the paperclip icon to open the upload window.

    View Pic

+ 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] Macro to select visible rows containg data in filtered list
    By knevil in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 07-15-2013, 01:22 PM
  2. [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
  3. Excel VBA to copy visible filtered data from from one worksheet to another
    By rahul1023 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 01-22-2013, 09:00 PM
  4. [SOLVED] Data Validation - using visible rows from filtered list
    By anandvh in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 08-17-2012, 06:14 PM
  5. Excel 2007 : Copy Visible Filtered Rows between worksheets
    By lmsexcelforum in forum Excel General
    Replies: 0
    Last Post: 05-17-2009, 12:40 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