Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 57
Default Show progress in a user form while code runs

Hi,

I have a proc which takes about 15 sec to run and I want to keep the
user updated with what's going on. So I show a modeless form and the
code keeps executing.


However, while that is taking place the form appears to be dead. I
want to change to contents of a label on the form:

"Now doing A",
"Now doing B",
"Now doing C", etc,

but that seems impossible. The form remains "whited-out".

Any suggetions?

Thanks!

Bura
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 244
Default Show progress in a user form while code runs

did you try DoEvents
  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 575
Default Show progress in a user form while code runs

Bura,

Stick a DoEvents statement after the line that updates the caption on the
form.

Robin Hammond
www.enhanceddatasystems.com

"Bura Tino" wrote in message
om...
Hi,

I have a proc which takes about 15 sec to run and I want to keep the
user updated with what's going on. So I show a modeless form and the
code keeps executing.


However, while that is taking place the form appears to be dead. I
want to change to contents of a label on the form:

"Now doing A",
"Now doing B",
"Now doing C", etc,

but that seems impossible. The form remains "whited-out".

Any suggetions?

Thanks!

Bura



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
show user form Joanne Links and Linking in Excel 1 February 27th 08 07:52 AM
User Form Code mully New Users to Excel 9 May 22nd 05 07:54 PM
Removing a user form with code KimberlyC Excel Programming 1 January 8th 04 11:55 PM
Show user form PCOR Excel Programming 1 December 31st 03 12:15 AM
Only Show User Form Once cornishbloke[_8_] Excel Programming 4 December 29th 03 01:24 PM


All times are GMT +1. The time now is 10:18 AM.

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"