[/FONT]
[FONT=Courier New]Option Explicit
Sub renamecaptions()
Dim i As Long
Dim cCont As Control
i = 1
For Each cCont In Me.Controls
If TypeName(cCont) = "OptionButton" Then
cCont.Caption = Sheets("Sheet4").Range("A" & i).Text
End If
i = i + 1
Next cCont
End Sub[/FONT]
[FONT=Courier New][/FONT]
[FONT=Courier New][/FONT]
[FONT=Courier New]Is there anything as activecontrol.caption..[/FONT]
[FONT=Courier New]Instead writing different line of code for all the optionbuttons?[/FONT]
[FONT=Courier New]Private Sub OptionButton1_Click()
Range("A1").Value = Me.OptionButton1.Caption
End Sub[/FONT]
[FONT=Courier New]Private Sub OptionButton2_Click()
Range("A1").Value = Me.OptionButton2.Caption
End Sub[/FONT]
[FONT=Courier New]Private Sub OptionButton3_Click()
Range("A1").Value = Me.OptionButton3.Caption
End Sub[/FONT]
[FONT=Courier New]Private Sub OptionButton4_Click()
Range("A1").Value = Me.OptionButton4.Caption
End Sub