Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 791
Default waiting message

You can also try adding a progress bar, but for this you need to do a little
more work. First you have to create a form and place a progressbar object in
it, then you use the following code:
Sub ProgressBar ()
Dim f As UserForm1
Dim i As Integer

Set f = New UserForm1
f.ProgressBar1.Min = 0
f.ProgressBar1.Max = 10000

f.Show vbModeless

For i = 1 To 10000
f.ProgressBar1.Value = f.ProgressBar1.Value + 1
DoEvents
Next

f.Hide

Set f = Nothing

End Sub

--
If this posting was helpful, please click on the Yes button.
Regards,

Michael Arch.




"Scott" wrote:

I want to put a message on top of the form when the program is running, such
as "Please wait while the updating is in the progress.", and the message
will disappear or replaced by another message like "The update is completed."
How to do this?

Your help will be appreciated.

Scott

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
"Waiting Message" Guinness Excel Discussion (Misc queries) 3 November 28th 07 02:35 AM
Pausing or waiting in VBA Brad Excel Programming 2 November 6th 06 05:07 PM
Waiting... Rob Hargreaves[_2_] Excel Programming 1 August 7th 05 05:11 PM
waiting Mark Kubicki Excel Programming 2 August 7th 03 09:08 PM


All times are GMT +1. The time now is 10:08 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"