+ Reply to Thread
Results 1 to 2 of 2

Help with open files

  1. #1
    Jason Zischke
    Guest

    Help with open files

    Hi all

    I have in a userform that when change opens 2 files that takes about a 2 - 3
    second delay before being able to select another combobox is there any way
    around this delay?

    Thanks in advance

    Jason

  2. #2
    Mike Fogleman
    Guest

    Re: Help with open files

    Jason, VBA code executes one line at a time, and the next line cannot begin
    until the current line finishes. I think you were hoping to continue on with
    the code while the 2 files were taking their 2 or 3 seconds to open. But
    what if the next line of code was to do something with the opened files and
    it went ahead and tried to run anyway? - CRASH - or at the least, unexpected
    results. If only the world ran this way, but it's not governed by logic,
    only the code is.
    Mike F
    "Jason Zischke" <[email protected]> wrote in message
    news:[email protected]...
    > Hi all
    >
    > I have in a userform that when change opens 2 files that takes about a 2 -
    > 3
    > second delay before being able to select another combobox is there any way
    > around this delay?
    >
    > Thanks in advance
    >
    > Jason




+ 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