Need help creating a "Please wait" Message prompt

shukero

Board Regular
Joined
Dec 3, 2015
Messages
64
Office Version
  1. 365
Platform
  1. Windows
Hello everyone,

I have a pretty long macro which takes about 30 seconds to finish. However, it seems that my co-workers are not that patient; and so I need a message prompt to come up when the macro is running. Is this a possibility?

Also I'm worried that the way I have my macro set up might cause issues with a prompt box. I have a main macro that runs the majority of the code; however I have several instances of "Application.Run" within it. Would this mess up any prompt that I may try to implement?

thanks,
~Mike
 

Excel Facts

Why are there 1,048,576 rows in Excel?
The Excel team increased the size of the grid in 2007. There are 2^20 rows and 2^14 columns for a total of 17 billion cells.
Have you considering using a UserForm as the prompt itself?

So at the begininning of the Code theres:

Show UserForm

End of Code:

Unload Me

(Closes UserForm)
 
Upvote 0
I had something similar. I created a userform with the message telling the user to wait.
I have the following at the beginning of the macro.
Code:
Userform1.Show vbModeless

Then I have this at the end to dismiss it. Has always worked for me.

Code:
Userform1.Hide
 
Upvote 0

Forum statistics

Threads
1,214,983
Messages
6,122,583
Members
449,089
Latest member
Motoracer88

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top