Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
similar code worked fine for me:
Private Sub UserForm_Initialize() Me.Label1.Font.Bold = True Me.Label1.Caption = "My Dog is big" End Sub -- Regards, Tom Ogilvy "scantor145" wrote: Visual Basic 6.3 w/Excel 2003 I have a User Form that has a label control UserForm = frmEasyLyteQC Name = lblInstruction Caption = Open File When the user performs a certain action I would like the label font to change to a bold font I used the following: Code: -------------------- frmEasyLyteQC.lblInstruction.Font.Bold -------------------- But when the program executes I get a Complile error: Invalid use of property. What's wrong ? Any way around it? -- scantor145 ------------------------------------------------------------------------ scantor145's Profile: http://www.excelforum.com/member.php...o&userid=14766 View this thread: http://www.excelforum.com/showthread...hreadid=533396 |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Bold Font | Excel Discussion (Misc queries) | |||
Bold font if statement | Excel Worksheet Functions | |||
How to show only bold font ? | Excel Worksheet Functions | |||
Add bold font to Totals row? | Excel Programming | |||
Change font to red and bold | Excel Programming |