Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I am trying to set button caption by using code but it is failing can someone
please point out what I should be doing the error is Object Variable or With Block Variable not set Dim mode As String mode = EssVGetGlobalOption(5) Set btn = Application.CommandBars.ActionControl If mode = 4 Then x = EssVSetGlobalOption(5, 2) btn.Caption = "Warnings On" Else x = EssVSetGlobalOption(5, 4) btn.Caption = "Warnings Off" End If |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Change caption of a button | Excel Worksheet Functions | |||
command button caption | Excel Programming | |||
Toggle Button Caption | Excel Programming | |||
How to change Button Caption? | Excel Programming | |||
Caption of a button | Excel Programming |