+ Reply to Thread
Results 1 to 2 of 2

Repeated Opening with VBA calls causing Excel files to open slowly

  1. #1
    Registered User
    Join Date
    03-07-2009
    Location
    Princeotn, NJ
    MS-Off Ver
    Excel 2003
    Posts
    2

    Repeated Opening with VBA calls causing Excel files to open slowly

    I have written VBA code into one Excel Workbook to open a different Workbook, read data and then close the data Workbook. The problem I am having is that after running one or more times the data workbook takes a very long time (60+ seconds) to open. It is slow to open both programatically and by double clicking the file.

    If I make a copy of the file. The copy opens wery quickly (2-3 seconds). However after running the VBA code one or two more times the problem reappears.

    I think I am opeining and closing the file properly, but it seems like the file is not fully being released. The messageboxes are showing me that it is the open action that is causing the delay. Code is below.
    Please Login or Register  to view this content.
    Has anyone seen anything like this?

    Thanks,

    Andy
    Last edited by Leith Ross; 03-07-2009 at 03:25 AM. Reason: Added COde Tags

  2. #2
    Registered User
    Join Date
    03-07-2009
    Location
    Princeotn, NJ
    MS-Off Ver
    Excel 2003
    Posts
    2

    Re: Repeated Opening with VBA calls causing Excel files to open slowly

    Also - I am using Excel 2003 on MS Vista

+ 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