+ Reply to Thread
Results 1 to 3 of 3

Copying column w/ VBA takes forever

  1. #1
    Registered User
    Join Date
    02-08-2010
    Location
    NC, USA
    MS-Off Ver
    Excel 2007
    Posts
    7

    Copying column w/ VBA takes forever

    The workbook has two sheets, "user" and "analysis". I have this code in a button sub:

    Please Login or Register  to view this content.
    I also tried this:

    Please Login or Register  to view this content.
    It takes 30-40 sec for the change to happen. There are about 500 rows in the sheets, nothing crazy. Any way to make it instantaneous? Thanks everyone!
    Last edited by patatvs; 02-08-2010 at 02:17 PM.

  2. #2
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Copying column w/ VBA takes forever

    Hi,

    Try limiting the range rather than specifying all 1 million rows !

    Please Login or Register  to view this content.
    Regards
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  3. #3
    Registered User
    Join Date
    02-08-2010
    Location
    NC, USA
    MS-Off Ver
    Excel 2007
    Posts
    7

    Re: Copying column w/ VBA takes forever

    For anyone else with the same problem, I ended up using some code found here and it worked a bit better:

    http://www.excelforum.com/excel-programming/717192-how-to-copy-rows-from-one-sheet-to-another.html


    Thanks again Richard! You guys are awesome.
    Last edited by patatvs; 02-08-2010 at 02:14 PM.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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