Displaying a Progress Message

klyhthwy

New Member
Joined
Jul 13, 2011
Messages
14
Hello,

I am looking for a way to display a message box in VBA that will not provide any options (i.e. Ok, Cancel), but will just display a message to "Please Wait" while another process is running. I would like the message box to be cleared when the process is complete.

Any good way to do this?

Thanks,

Kelly
 

Excel Facts

Create a Pivot Table on a Map
If your data has zip codes, postal codes, or city names, select the data and use Insert, 3D Map. (Found to right of chart icons).
I saw examples of code there, but did not see the full code, unless I missed something.

Such as I was trying to access his "Status Bar" code and was not able to.
 
Upvote 0
The bulk of the code is in the UserForm1 code module.
 
Last edited:
Upvote 0
UserForm1 has properties etc, but the VBA code to run in Module1 only shows:

Code:
Sub ShowProgress()
    UserForm1.Show
End Sub
I don't see any other code.
 
Upvote 0
Right click the userform module and select View Code.

Or double-click the userform module to see the form, and press F7 to see the code.
 
Upvote 0
Looks like he is not using the vbModeless parameter with UserForm, so likely his Progress Meter screens will tie up Excel use until done. One could play around with that in the code to perhaps get the Excel instance freed up while his UserForm code is running.
 
Upvote 0
It's a demonstration of progress meters, chuck. I think Andy fairly assumes that people who intend to adapt one to their own purposes have some knowledge of VBA.
 
Upvote 0
Yes, and that is some very nice code he has there. Learning how to use UserForms along with his example code should cover most anything.

Thanks shg.
 
Upvote 0
Thank you for all your input. It has been very helpful!

I didn't mention that I am actually using an Access module to run the code with the Excel library included. So I also have the Access libraries available.

Thank you all
 
Upvote 0

Forum statistics

Threads
1,224,548
Messages
6,179,453
Members
452,915
Latest member
hannnahheileen

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