Message box whilst calculating

R

Rick

I have created a macro which formats and copies data then when it has
finished it recalculates all the formulas.

This takes a little while.

How do I bring up a message box whilst it is calculating saying "
Calculating..." and and new box with "finished", once the file has finished
calculating.

Thanks
rick
 
B

Barb Reinhardt

You can't do a message box, per se, but you could put up a status bar. I
think that when it's calculating, you see something in the status bar anyway.

Application.StatusBar = "Calculating"
do the calculation
Application.StatusBar = FALSE
MsgBox("Calculation Complete")
 
R

Rick

thanks, that'll do it.

Barb Reinhardt said:
You can't do a message box, per se, but you could put up a status bar. I
think that when it's calculating, you see something in the status bar anyway.

Application.StatusBar = "Calculating"
do the calculation
Application.StatusBar = FALSE
MsgBox("Calculation Complete")
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top