+ Reply to Thread
Results 1 to 4 of 4

Thread: Forcing VBA to wait until sheet completely calculated

  1. #1
    Nirmal Singh
    Guest

    Forcing VBA to wait until sheet completely calculated



    Is there some way of checking whether any cells in a worksheet have not been calculated yet?

    I want to proceed with my VBA code only when the sheet has been completely calculated.

  2. #2
    Ivan Raiminius
    Guest

    Re: Forcing VBA to wait until sheet completely calculated

    Hi Nirmal,

    see help for application.calculationstate property.

    Regards,
    Ivan


  3. #3
    Gary''s Student
    Guest

    RE: Forcing VBA to wait until sheet completely calculated

    VBA should not proceed until calculate is complete. For example:

    Sub asd()
    MsgBox ("start calculation")
    Application.CalculateFull
    MsgBox ("calculation complete")
    End Sub

    The second message should not be issued until the calculation is, indeed,
    complete.
    --
    Gary''s Student


    "Nirmal Singh" wrote:

    >
    >
    > Is there some way of checking whether any cells in a worksheet have not been calculated yet?
    >
    > I want to proceed with my VBA code only when the sheet has been completely calculated.
    >


  4. #4
    Nirmal Singh
    Guest

    Re: Forcing VBA to wait until sheet completely calculated

    On 16 May 2006 05:51:24 -0700, "Ivan Raiminius" <ivan.raiminius@fleurdesante.cz> wrote:

    >Hi Nirmal,
    >
    >see help for application.calculationstate property.
    >
    >Regards,
    >Ivan



    Ivan

    I can't find application.calculationstate. I'm using Excel 2000, is it available with that?

    Nirmal

+ 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.2.0