+ Reply to Thread
Results 1 to 4 of 4

event to know after data has loaded

  1. #1
    Eric
    Guest

    event to know after data has loaded

    I have a large workbook with close to 200 sheets in it, so it takes awhile
    for it to open (10 seconds or so).

    Is there a way for my vba code to know when the workbook is done opening, so
    I could then start my code?

    TIA



  2. #2
    Nick Hodge
    Guest

    Re: event to know after data has loaded

    Eric

    You could place it in the Workbook_Open() event. This way it should run as
    soon as it can???

    --
    HTH
    Nick Hodge
    Microsoft MVP - Excel
    Southampton, England
    [email protected]HIS


    "Eric" <[email protected]> wrote in message
    news:[email protected]...
    >I have a large workbook with close to 200 sheets in it, so it takes awhile
    >for it to open (10 seconds or so).
    >
    > Is there a way for my vba code to know when the workbook is done opening,
    > so I could then start my code?
    >
    > TIA
    >




  3. #3
    Eric
    Guest

    Re: event to know after data has loaded

    Hi Nick,

    That's what I have been doing, but doing so obscures all my nice status
    messages and makes it more difficult to debug all the setup work ive got
    going in there.

    Thanks

    "Nick Hodge" <[email protected]> wrote in message
    news:%[email protected]...
    > Eric
    >
    > You could place it in the Workbook_Open() event. This way it should run as
    > soon as it can???
    >
    > --
    > HTH
    > Nick Hodge
    > Microsoft MVP - Excel
    > Southampton, England
    > [email protected]HIS
    >
    >
    > "Eric" <[email protected]> wrote in message
    > news:[email protected]...
    >>I have a large workbook with close to 200 sheets in it, so it takes awhile
    >>for it to open (10 seconds or so).
    >>
    >> Is there a way for my vba code to know when the workbook is done opening,
    >> so I could then start my code?
    >>
    >> TIA
    >>

    >
    >




  4. #4
    Nick Hodge
    Guest

    Re: event to know after data has loaded

    Eric

    What about forcing a calculation on a worksheet as a last line and then
    doing something with the Worksheet_Calculate() event?

    --
    HTH
    Nick Hodge
    Microsoft MVP - Excel
    Southampton, England
    [email protected]HIS


    "Eric" <[email protected]> wrote in message
    news:[email protected]...
    > Hi Nick,
    >
    > That's what I have been doing, but doing so obscures all my nice status
    > messages and makes it more difficult to debug all the setup work ive got
    > going in there.
    >
    > Thanks
    >
    > "Nick Hodge" <[email protected]> wrote in message
    > news:%[email protected]...
    >> Eric
    >>
    >> You could place it in the Workbook_Open() event. This way it should run
    >> as soon as it can???
    >>
    >> --
    >> HTH
    >> Nick Hodge
    >> Microsoft MVP - Excel
    >> Southampton, England
    >> [email protected]HIS
    >>
    >>
    >> "Eric" <[email protected]> wrote in message
    >> news:[email protected]...
    >>>I have a large workbook with close to 200 sheets in it, so it takes
    >>>awhile for it to open (10 seconds or so).
    >>>
    >>> Is there a way for my vba code to know when the workbook is done
    >>> opening, so I could then start my code?
    >>>
    >>> TIA
    >>>

    >>
    >>

    >
    >




+ 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