Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 107
Default Disappearing Userform Label

Excel 2003 on Win XP
I want to display to the user of a complex UserForm a <<Please Wait
message while a macro with long iteration loops runs.
I've tried adding a Label with appropriate words to the UserForm, by adding
code to the macro making it Visible.True at the start of the routine and
Visible.False at the end.
If I step thru the macro it works as expected, but when it is run normally,
the message / label never appears.
Why might this be??

--
donwb
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,290
Default Disappearing Userform Label


You could try...
Me.Repaint
....immediately after making the label visible.

Jim Cone
San Francisco, USA
http://www.realezsites.com/bus/primitivesoftware
(Excel Add-ins / Excel Programming)



"donbowyer"
wrote in message
Excel 2003 on Win XP
I want to display to the user of a complex UserForm a <<Please Wait
message while a macro with long iteration loops runs.
I've tried adding a Label with appropriate words to the UserForm, by adding
code to the macro making it Visible.True at the start of the routine and
Visible.False at the end.
If I step thru the macro it works as expected, but when it is run normally,
the message / label never appears.
Why might this be??
--
donwb
  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 107
Default Disappearing Userform Label

Hi Jim
Many thanks for the response.
I'd forgotten all about Repaint!
--
donwb


"Jim Cone" wrote:


You could try...
Me.Repaint
....immediately after making the label visible.

Jim Cone
San Francisco, USA
http://www.realezsites.com/bus/primitivesoftware
(Excel Add-ins / Excel Programming)



"donbowyer"
wrote in message
Excel 2003 on Win XP
I want to display to the user of a complex UserForm a <<Please Wait
message while a macro with long iteration loops runs.
I've tried adding a Label with appropriate words to the UserForm, by adding
code to the macro making it Visible.True at the start of the routine and
Visible.False at the end.
If I step thru the macro it works as expected, but when it is run normally,
the message / label never appears.
Why might this be??
--
donwb

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
Disappearing Data Label in chart Meenie Charts and Charting in Excel 1 October 28th 09 01:17 PM
Userform Label Steve[_9_] Excel Discussion (Misc queries) 7 October 29th 07 09:51 PM
The name of the textbox in userform keeps disappearing Excel 009 Excel Programming 4 September 19th 06 09:45 PM
userform label creation Gary Keramidas Excel Programming 6 August 9th 06 12:07 AM
Userform blinking label Ed Excel Programming 2 July 17th 04 12:24 AM


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