+ Reply to Thread
Results 1 to 2 of 2

Fast copy sheet from closed workbook

  1. #1
    Forum Contributor
    Join Date
    06-24-2013
    Location
    New Zealand
    MS-Off Ver
    Excel 2016
    Posts
    124

    Fast copy sheet from closed workbook

    Hi all

    I know of several ways to copy a sheet from a closed workbook, but i am struggling to find a very fast way....

    My following code works, but it takes about 15 seconds to run (ideally I would like this under 5 seconds).
    The sheet it is copying only has about 230,000 rows of data.

    I really hope someone can help me speed this up! or direct me to another method?

    Please Login or Register  to view this content.

  2. #2
    Forum Expert Keebellah's Avatar
    Join Date
    01-12-2014
    Location
    The Netherlands
    MS-Off Ver
    Office 2021 (Windows)
    Posts
    7,905

    Re: Fast copy sheet from closed workbook

    I suggest you disable all events, calculations etc before you open the workbook, if it isn't necessary then you can also set update links to false in the workbook open parameter and open it read-only
    when closing that workbook add the Boolean False so just in case it won't prompt you to save.
    Might speed it up a little.
    Keep in mind that the file location (network drive or NAS) can slow things down too.
    Hope this helps
    ---
    Hans
    "IT" Always crosses your path!
    May the (vba) code be with you... if it isn't; start debugging!
    If you like my answer, Click the * below to say thank-you

+ 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: 3
    Last Post: 12-07-2017, 05:14 PM
  2. Copy sheet to closed workbook
    By MikeBike in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 11-02-2017, 12:05 AM
  3. [SOLVED] vba code to copy a specific sheet from a closed workbook to the active workbook
    By JEAN1972 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 11-01-2017, 03:09 AM
  4. [SOLVED] vba copy specific sheet from closed workbook to active workbook
    By JEAN1972 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-12-2017, 01:33 PM
  5. [SOLVED] copy specific sheet from closed workbook to active workbook
    By JEAN1972 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 02-10-2017, 10:26 PM
  6. vba copy specific sheet from closed workbook to active workbook
    By JEAN1972 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 02-09-2017, 02:34 PM
  7. Copy One Sheet From One Closed Workbook To Another Closed WB
    By teshiburu1988 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 11-04-2009, 11:49 AM

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