View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Greg Wilson Greg Wilson is offline
external usenet poster
 
Posts: 747
Default optionbutton question

Try:
Me.Controls("OptionButton" & z).Caption = "Some text"

Regards,
Greg

"Gary Keramidas" wrote:

how would you concatenate a variable onto the end of optionbutton property?

so, say z = 1 to 4

me.optionbutton & z.caption = "Some text"

--


Gary