View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Gary Keramidas Gary Keramidas is offline
external usenet poster
 
Posts: 2,494
Default optionbutton question

thanks greg.

--


Gary


"Greg Wilson" wrote in message
...
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