1,507 questions
Hi,
You need to get the OptionButton object from the Object property of OLEObject.
Public Sub Sample()
With ActiveSheet.OLEObjects.Add(ClassType:="Forms.OptionButton.1", Link:=False, DisplayAsIcon:=False, Left:=10, Top:=10, Width:=10, Height:=10) 'OLEObject
With .Object 'OptionButton
.GroupName = "group11"
End With
End With
End Sub