View Single Post
  #5   Report Post  
Posted to microsoft.public.excel.programming
MWE MWE is offline
external usenet poster
 
Posts: 20
Default UserForm as Progress Indicator

thanks. just what I needed

-----Original Message-----
You can do this in Excel 2000 and later. Show the form
modelessly. E.g.,

UserForm1.Show vbModeless


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com


"MWE" wrote in

message
...
I am trying to use a UserForm as a progress indicator.
The idea is to create a label within a frame within a
userform and then adjust (in real time) the label's

width
as a percent complete indication. This works OK as

long
as the code "starts" in the UserForm code area using,

say,
UserForm_Activiate. But as soon as I move all the code
outside of the UserForm code area, problems occur.
Loading and displaying the userform is fine. But I can
not get the userform to relinquish "control" after that.
How do I tell the userform to "stay visible" and "let me
update you" now and again.



.