I'm stuck in a problem, I'v a sheet where i EMBED a option button. I'v
a separate module where I placed code to pass that control(as Object)
not the VALUE. I'm getting an error "13-Type mismatch"
Pls. Help me !!
Here is the code
Private Sub OptCollapse_Click()
myctrl OptCollapse
End Sub
Public Sub myControl(ByRef otp As OptionButton)
MsgBox otp.Caption
End Sub