Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4
Default Userform1-Can I override the need to click on the form?

I have a long running macro and would like to display some variables to see
where I am in the processing. When I show the Userform that I created for
this purpose, I am force to click on it to keep the macro going. Is there
any way to avoid the click and just show the userform throughout the process?

Thanks!
--
sbw
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 694
Default Userform1-Can I override the need to click on the form?

Hi
you could either
- show the form in modeless mode:
frmMyForm.Show vbModeless
- or run the macro from the form: The form shows "This macro may take
several second. Continue?" if yes command button... run the macro and display
the % in a label.:
Sub cmdOk_Click
'run macro if not already running
End Sub

Regards,
Sebastienm

"sbweid" wrote:

I have a long running macro and would like to display some variables to see
where I am in the processing. When I show the Userform that I created for
this purpose, I am force to click on it to keep the macro going. Is there
any way to avoid the click and just show the userform throughout the process?

Thanks!
--
sbw

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
Right Click within Form Rob Excel Discussion (Misc queries) 0 September 19th 07 02:20 PM
Change Form Size after Click Huyeote[_4_] Excel Programming 1 September 23rd 04 08:42 AM
Right click menu in my form kvenku Excel Programming 0 April 7th 04 01:18 PM
Click away from a form? SCOTT Excel Programming 1 September 29th 03 03:43 AM
Click away from a form? SCOTT Excel Programming 0 September 29th 03 03:12 AM


All times are GMT +1. The time now is 10:03 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"