+ Reply to Thread
Results 1 to 13 of 13

Perplexing Macro Issue

Hybrid View

  1. #1
    Registered User
    Join Date
    01-30-2007
    Posts
    48
    A few more thoughts:

    The macros are stored in a Personal.xls file that resides in the XLSTART folder in documents&settings/[user]/applications/microsoft/Excel

    I would be happy to post the macros, but was reluctant to do so as the post may seem overly complex and scare off some good thoughts!

    Thanks!

  2. #2
    Forum Contributor
    Join Date
    07-05-2007
    Location
    Lexington, MA
    Posts
    302
    Turning off Screen Updating and automatic Recalculation while your macros are running can speed things up greatly. Consider that to display things correctly, the spreadsheet may be recalculating.

    For such a long data process, you may want to turn on Screen Updating to cause a re-display every 30 seconds or so, to show that things are still processing.
    FrankBoston is the pen name for Andrew Garland, Lexington MA

  3. #3
    Forum Expert
    Join Date
    01-15-2007
    Location
    Brisbane, Australia
    MS-Off Ver
    2007
    Posts
    6,591
    Hi

    1) Presumably the machines are memory size compatible, and virtual memory and other "Physical" type issues have similar characteristics.
    2) Are there any other macros in the user's personal.xls that may be impacting? Event macros???
    3) Check the priority of Excel on both machines. Open up the task manager, select processes, right click on Excel, set priority and see what both machines show.
    4) Is the delay in the processing, or in the opening / closing of the source data files?

    Maybe a look at the code would offer some suggestions on speed enhancements, so perhaps create a small workbook, with some of the data, and the code and paste it for review.


    HTH

    rylo

  4. #4
    Forum Contributor
    Join Date
    01-10-2006
    Location
    Ahmedabad, India
    MS-Off Ver
    Office 2000
    Posts
    346
    " Page Break " view can play havoc. When Page Break view is on, the print driver re-evaluates the view at the every line of code where print view changes ( such as deleting a row, hiding rows and columns ). Just swith off the Page Break View ( Tools > Options > View > Page Break ticked off ). Page Break View will make print driver re-evaluate the view even if screen update is off.

    A V Veerkar

+ 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