ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Problem with UserForm (https://www.excelbanter.com/excel-programming/396657-problem-userform.html)

Bob

Problem with UserForm
 
I created a single UserForm with only a Label in it. I left the default
colors for the UserForm and Label alone. I also left all the other
properties at their default settings. But when I execute the code to display
the UserForm, all I see is a white box with a blue border and a blue caption
area. I don't see any text!

Can anyone tell me what I either did wrong or missed?

Thanks in advance for any guidance.


No Name

Problem with UserForm
 
What's white? What's the default color?

"Bob" wrote in message
...
I created a single UserForm with only a Label in it. I left the default
colors for the UserForm and Label alone. I also left all the other
properties at their default settings. But when I execute the code to
display
the UserForm, all I see is a white box with a blue border and a blue
caption
area. I don't see any text!

Can anyone tell me what I either did wrong or missed?

Thanks in advance for any guidance.




Halim

Problem with UserForm
 
Hi,

Did you check the code to run your UserForm?
Whether the code to run UserForm is using API calls with incorrect variable
or constant

--
Regards,

Halim



"Bob" wrote:

I created a single UserForm with only a Label in it. I left the default
colors for the UserForm and Label alone. I also left all the other
properties at their default settings. But when I execute the code to display
the UserForm, all I see is a white box with a blue border and a blue caption
area. I don't see any text!

Can anyone tell me what I either did wrong or missed?

Thanks in advance for any guidance.


Bob

Problem with UserForm
 
UserForm1 & Label1 Color Properties:
BackColor = &H8000000F& (Button Face)
ForeColor = &H80000012& (Button Text)

Code to run UserForm:
UserForm1.Show

Code contained in module for UserForm:
Private Sub UserForm_Activate()
Call CopyTransposeData
Unload UserForm1
End Su
----------------------------------------------------------------------------------

"Bob" wrote:

I created a single UserForm with only a Label in it. I left the default
colors for the UserForm and Label alone. I also left all the other
properties at their default settings. But when I execute the code to display
the UserForm, all I see is a white box with a blue border and a blue caption
area. I don't see any text!

Can anyone tell me what I either did wrong or missed?

Thanks in advance for any guidance.


Bob

Problem with UserForm
 
UserForm1 & Label1 Color Properties:
BackColor = &H8000000F& (Button Face)
ForeColor = &H80000012& (Button Text)

Code to run UserForm:
UserForm1.Show

Code contained in module for UserForm:
Private Sub UserForm_Activate()
Call CopyTransposeData
Unload UserForm1
End Sub

--------------------------------------------------------------------------------------

"Halim" wrote:

Hi,

Did you check the code to run your UserForm?
Whether the code to run UserForm is using API calls with incorrect variable
or constant

--
Regards,

Halim



"Bob" wrote:

I created a single UserForm with only a Label in it. I left the default
colors for the UserForm and Label alone. I also left all the other
properties at their default settings. But when I execute the code to display
the UserForm, all I see is a white box with a blue border and a blue caption
area. I don't see any text!

Can anyone tell me what I either did wrong or missed?

Thanks in advance for any guidance.


Bob

Problem with UserForm
 
UserForm1 & Label1 Color Properties:
BackColor = &H8000000F& (Button Face)
ForeColor = &H80000012& (Button Text)

Code to run UserForm:
UserForm1.Show

Code contained in module for UserForm:
Private Sub UserForm_Activate()
Call CopyTransposeData
Unload UserForm1
End Sub

--------------------------------------------------------------------------------------

"-" wrote:

What's white? What's the default color?

"Bob" wrote in message
...
I created a single UserForm with only a Label in it. I left the default
colors for the UserForm and Label alone. I also left all the other
properties at their default settings. But when I execute the code to
display
the UserForm, all I see is a white box with a blue border and a blue
caption
area. I don't see any text!

Can anyone tell me what I either did wrong or missed?

Thanks in advance for any guidance.






All times are GMT +1. The time now is 08:08 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com