I understand!
Each control on that userform has to have a unique name--no duplicates.
Select any of the optionbuttons you want to change
Hit F4 to see the properties window
Look for a property called (Name) -- it includes the ()'s.
(It should be right near the top in either the Alphabetic or catorized tab)
Type the new name to the right of that property.
And to keep optionbuttons from being grouped with other optionbuttons, you can
either put each group in a frame--or give each group the same groupname.
======
Say you change the name of an optionbutton to OptKeepHistory, then you could
refer to it in (say) the Ok button's procedure:
Option Explicit
Private Sub Ok_Click()
If Me.OptKeepHistory = True Then
MsgBox "You chose to keep history"
End If
End Sub
Dave I will try to clarify better
I get view code from excel
VBA project
open Userform 1
click on toolbox
pull option button from toolbox
go to properties change nbr then to userforn and do same.
I think I did all right havent had time to check yet
Got ambigous name one time tho.
Must of missed changeing something
Thanks Again
Curt