+ Reply to Thread
Results 1 to 4 of 4

Back-Up Macro: performance

  1. #1
    Registered User
    Join Date
    11-29-2013
    Location
    Argentina
    MS-Off Ver
    Excel 2010
    Posts
    11

    Back-Up Macro: performance

    Hello everyone! I am working on a workbook that contains multiple sheets. I use a macro to back up my sheets everytime I save them (with a special command). Additionally, I create .txt files each time for the game I'm developing. However this macro doesn't seem to perform too well (time-wise), I feel it can be improved, but I'm not sure how. Here is the code:

    Please Login or Register  to view this content.
    That's it. Any advice on how to reformulate and/or improve the code to speed up performance would be greatly appreciated. Thanks in advance!

  2. #2
    Forum Guru Norie's Avatar
    Join Date
    02-02-2005
    Location
    Stirling, Scotland
    MS-Off Ver
    Microsoft Office 365
    Posts
    19,643

    Re: Back-Up Macro: performance

    Have you tried setting calculation to manual and turning off screen updating?
    Please Login or Register  to view this content.
    The only other thing I can think is to do a copy/paste special values on the sheet you've copied.
    If posting code please use code tags, see here.

  3. #3
    Registered User
    Join Date
    11-29-2013
    Location
    Argentina
    MS-Off Ver
    Excel 2010
    Posts
    11

    Re: Back-Up Macro: performance

    Thanks for your reply

    Please Login or Register  to view this content.
    What does this one do?

  4. #4
    Forum Guru bakerman2's Avatar
    Join Date
    10-03-2012
    Location
    Antwerp, Belgium
    MS-Off Ver
    MO Prof Plus 2016
    Posts
    6,907

    Re: Back-Up Macro: performance

    That as long as your code is running and you don't reset it to Automatic again no formulas will be (re)calculated during copy/paste actions, cell changes etc.... (all that can trigger a formula to be calculated.)
    Avoid using Select, Selection and Activate in your code. Use With ... End With instead.
    You can show your appreciation for those that have helped you by clicking the * at the bottom left of any of their posts.

+ 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. current moth MTD performance with last year same month same days performance
    By satyanarayana in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 12-03-2015, 03:36 AM
  2. Macro performance
    By toravietl in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 03-21-2014, 05:28 PM
  3. VBA Arrays macro performance
    By sepi in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 11-06-2013, 08:21 AM
  4. [SOLVED] looking for a way to increase macro performance
    By s4driver in forum Excel Programming / VBA / Macros
    Replies: 14
    Last Post: 06-27-2013, 01:48 PM
  5. Poor Macro Performance
    By ckm08 in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 01-07-2011, 04:36 AM
  6. poor macro performance
    By [email protected] in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-16-2006, 09:05 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