excel vba - How can I use an InputBox to rename an ActiveX command button caption? -


how can use inputbox rename activex command button caption? using excel vba.

try this:

sub test()  ' change commandbutton1 command button name '  activesheet.commandbutton1.caption = inputbox("caption?") end sub 

Comments

Popular posts from this blog

get url and add instance to a model with prefilled foreign key :django admin -

css - Make div keyboard-scrollable in jQuery Mobile? -

ruby on rails - Seeing duplicate requests handled with Unicorn -