Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 201
Default Userform not displaying correctly

Greg, Thanks for the reply but Norman's reply got it.

--
Trefor


"Greg Wilson" wrote:

Your code works fine for me. My guess is that some other code in the UF code
module is causing the problem. I suggest commenting out all other code and
then show it. If the problem disappears then incrementally uncomment the code
and repeatedly show the UF until the problem starts again. This should
isolate the offending code.

Regards,
Greg

"Trefor" wrote:

I have the following code in a module, it works fine when I step through the
code, but when run I end up with a Userform that is a white box on the
screen. If I put say a Msgbox in so i can see it time this sub gets called
the Userform is quite readable, what am I missing here?

Sub PleaseWait(OnOff, PW_Message)
' This macro sets up the Please Wait Screen
If OnOff = "ON" Then
If Not PleaseWaitActive Then PleaseWaitDisplay.Show vbModeless
PleaseWaitDisplay.PleaseWaitTextBox.Text = PW_Message
ElseIf OnOff = "OFF" Then
If PleaseWaitActive Then Unload PleaseWaitDisplay
PleaseWaitActive = False
Else
End If
End Sub

--
Trefor

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
Date not displaying correctly Clark Excel Worksheet Functions 6 October 2nd 08 07:17 PM
Axis Not Displaying Correctly DATDANGGADUDE Excel Discussion (Misc queries) 0 April 4th 08 03:35 PM
Date is not displaying correctly Movemout Excel Discussion (Misc queries) 9 May 5th 07 03:57 AM
Fonts not displaying correctly Carolyn Excel Discussion (Misc queries) 0 June 20th 05 02:33 PM
date is not displaying correctly Deb Excel Discussion (Misc queries) 3 June 14th 05 12:56 AM


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