Share via

message during sheet calculation

Anonymous
2013-09-04T13:27:06+00:00

Hi,

Is there a way to display a message while sheet calculating very high volume of formulas?

I know it displays in status bar but I want to display it in a message box as well.

Thanks in advance,

Hari

Microsoft 365 and Office | Excel | For home | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

Answer accepted by question author

Anonymous
2013-09-04T16:02:08+00:00

Are you letting Excel control the recalculating?  That is, is the calculation mode set to Automatic?

If it is, then this is very difficult to do because while we can tell when calculating starts, there's nothing to tell us when it is done.

But if you have the workbooks calculation mode set to manual and are using a macro to have the recalculation done, then you could probably do it with a UserForm shown in non-modal state.  Note that using a macro is not the same as pressing [F9] or [Shift]+[F9].

And if you are using a macro, then you might speed it up enough to not need the message or form by adding one line of code before you start the .Calculate operation:

Application.ScreenUpdating = False

that one line of code can sometimes improve performance dramatically.  You don't even have to worry about setting it back to = True because Excel will do that when it gets to the End Sub statement or otherwise exits the macro.

Was this answer helpful?

0 comments No comments

Answer accepted by question author

Anonymous
2013-09-04T15:29:02+00:00

You can't display a message box while the sheet is calculating. The status bar is be best way, although the status bar tends to also include a progress bar for when calculations take a long time. 

You could have code that displays another sheet, does calculations, and then goes back to the original sheet. The sheet you display could say the sheet is calculating. But..really..better to keep it simple.

tod

Was this answer helpful?

0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Anonymous
    2013-09-04T16:16:41+00:00

    Yes JLLatham,

    It is the case when calculation is Automatic.

    I am new in vba & don't know if there is a way to read status bar value & display it in a message box or even in cell.

    i thought it is possible. anyway thank you  JLLatham for your reply.

    Also thank you Tod.

    Regards,

    Hari

    Was this answer helpful?

    0 comments No comments