Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I'm using a CommandButton from the Control Toolbox. How can I access this
control via VBA using a Variable. Example: i=1 I have CommandButton1. I'd like to set the caption of CommandButton1 use the "i" variable for the number of that CommandButton. I've done this before with a button on a UserForm using something like: UserForm3.Controls("CommandButton" & i).Caption = "Test" So how can I do this with a CommandButton that is not on a UserForm? Thanks, Paul -- |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Commandbutton Caption | Excel Programming | |||
UserForm CommandButton Caption | Excel Programming | |||
Setting form caption based on global variable | Excel Programming | |||
Change CommandButton Caption | Excel Programming | |||
CommandButton.Caption | Excel Programming |