+ Reply to Thread
Results 1 to 4 of 4

VBA code runs slow until I push ESC

  1. #1
    Forum Contributor
    Join Date
    09-28-2007
    Location
    New York, NY
    MS-Off Ver
    2007
    Posts
    120

    VBA code runs slow until I push ESC

    My Macros used to run very fast. I recently created a new macro (A_ClearOld) that runs before all my other macros. Now, my macros runt much slower, but while they are running, if I push ESC once, the macros run as fast as they used to. I don't know what could have made this happen. Here are my macros:

    A_ClearOld:
    Please Login or Register  to view this content.
    B_WriteTickers:
    Please Login or Register  to view this content.
    C_RefreshPurch:
    Please Login or Register  to view this content.

  2. #2
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200
    Selecting Sheets,Ranges etc will slow code down
    Hope that helps.

    RoyUK
    --------
    For Excel Tips & Solutions, free examples and tutorials why not check out my web site

    Free DataBaseForm example

  3. #3
    Forum Contributor
    Join Date
    09-28-2007
    Location
    New York, NY
    MS-Off Ver
    2007
    Posts
    120
    I dont understand why they all used to run fast, but now they run slow. I didn't change anything in the old macros. Allo I did was create a new separate macro. I even tried taking this macro out of the module completely and the other macros still run slow.

  4. #4
    Forum Contributor
    Join Date
    09-28-2007
    Location
    New York, NY
    MS-Off Ver
    2007
    Posts
    120
    nevermind. i just closed excel and opened it again. guess i shoulda tried that before.

+ 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