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

Can you sort left to right?
To sort left-to-right, use the Sort dialog box. Click Options. Choose "Sort left to right"
You can display it using Application.StatusBar
 
Upvote 0
shg,

I think that is a section of the screen Excel allocates for such, rather than in a box, if I remember correctly?
 
Upvote 0
It's the text at the lower left of the screen that shows Excel's state (Ready, Calculating, Edit, ...)
 
Upvote 0
I looked at "Application.StatusBar " some months ago before using the other two approaches. The "Application.StatusBar " likely is good enough for many, but I could not get it to work for what I needed. As more flexability was required so went those other routes. The code got a bit intensive depending upon need, but very adaptable.

I searched for other ways that could use a box that pops up, but was stuck with making my own custom status bars.

If there is a better way would be interested in looking at them for sure.
 
Upvote 0
Kelly,

I have a number of spreadsheets that I do that for. The best way I found is to creat a userform that just has the message you want them to see then right before the process starts you show the userform and right after the process you unload the userform.

The best thing about that is that you can make it look exactly how you want. I use our company logo on them.
 
Upvote 0
Breifly looked at the Andy Pope collection of progress meters referred by shg.<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:eek:ffice:eek:ffice" /><o:p></o:p>
<o:p></o:p>
They all use the UserForm way we have been discussing here. So this might point to the "UserForm" way as the best way to make a "Progress Meter" that would be highly customisable. So there may not be a better way in Excel to do such. I was not able to access his VBA code, which would have made it nice to see how he did all those various Progress Meters.
<o:p></o:p>
Except I like the "Application.OnTime" way that has no interferrence with other computer and Excel functions. Perhaps using "Application.OnTime" and "Userforms with it's vbModeless parameter" together would be a real efficient way. One would have to look into Andy Pope's Progress Meters closely to be sure they do interfere with user interface things like copy and paste, which my first indications say they do.<o:p></o:p>
<o:p></o:p>
I like the flexibility of writing the code myself so I can better understand what is going on in case I need to modify things for different applications later.<o:p></o:p>
<o:p></o:p>
Our discussions here seem to say that the "UserForms" way with the "vbModlesss" parameter is likely indeed the best way to make your own Progress Meter". Learning how to use the "UserForms" way is made a lot easier through this video:

http://www.youtube.com/watch?v=5PN7lWJSobQ
<o:p></o:p>
 
Upvote 0

Forum statistics

Threads
1,215,731
Messages
6,126,537
Members
449,316
Latest member
sravya

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