+ Reply to Thread
Results 1 to 3 of 3

Can anyone speed up this block of code or is this as good as it gets?

  1. #1
    Registered User
    Join Date
    10-17-2017
    Location
    chciago
    MS-Off Ver
    2013
    Posts
    29

    Can anyone speed up this block of code or is this as good as it gets?

    Hey, I have this block of code I run that goes through a folder, opens up a workbook, copies the only tab over to a 'Master' sheet and continues on until their are no more files to be opened. This code runs but very slowly as it goes through some 80 workbooks (takes about 20 min). The real concern is that I am using a 64g ThinkPad 51 w/ 4 processors and no other programs running. Can someone do this more eloquently than I or is this as good as it gets?

    Please Login or Register  to view this content.

  2. #2
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,167

    Re: Can anyone speed up this block of code or is this as good as it gets?

    Hi sb,

    If speed is the whole goal then Power Query might be much faster. See this link:

    https://www.howtoexcel.org/power-que...n-power-query/
    One test is worth a thousand opinions.
    Click the * Add Reputation below to say thanks.

  3. #3
    Registered User
    Join Date
    10-17-2017
    Location
    chciago
    MS-Off Ver
    2013
    Posts
    29

    Re: Can anyone speed up this block of code or is this as good as it gets?

    Marvin, Thanks for your reply but that will not work as the 'Master' workbook I am creating must be distributed out to users who will not have access to my document libraries. Additionally there is some formatting that I would like brought over with each worksheet.

    Sam

+ 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: 9
    Last Post: 05-21-2018, 04:34 PM
  2. [SOLVED] Help to speed up code
    By sintek in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 12-15-2016, 08:47 AM
  3. [SOLVED] can i have a good design of userform and a code?
    By mak_pj in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 04-08-2016, 06:16 PM
  4. [SOLVED] VBA Delete Row Code - Need more efficient code to speed it up
    By matcapir in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-02-2015, 04:32 PM
  5. Replies: 5
    Last Post: 10-09-2012, 10:44 AM
  6. What are the good ways to write VBA code,
    By malviya_anil77 in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 08-24-2011, 03:03 PM
  7. Macro Web Query Speed & Good Structure
    By racer25 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 05-19-2005, 05:21 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