Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Matt,
Try ..Value = 4 (No quotes) HTH Henry "Matt" wrote in message ... I have a command button that when I click it, I want it to first clear the formatting in the cell, then remove the data validation, then change the font style to wingdings 2, then set the font to bold, then change the font size to 20, then type a 4 in the cell. This is what I have and I cannot get it to work. Any help would be great. Thanks. Matt Private Sub cmdExempt_Click() With ActiveCell .ClearFormats = True .Validation.ErrorMessage = False .Font.FontStyle = wingdings 2 .Font.Bold = True .Font.Size = 20 .Value = "4" End With End Sub |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
copy cell by command button | Excel Worksheet Functions | |||
Command Button Properties | Excel Discussion (Misc queries) | |||
Command Button Control Properties | Excel Discussion (Misc queries) | |||
command button properties | Excel Worksheet Functions | |||
Command Button Properties | Excel Programming |