RaunLGoode
Registered User.
- Local time
- Today, 14:20
- Joined
- Feb 18, 2004
- Messages
- 122
As part of an error check, if a field on an excel spreadsheet is black, I would like to open a form and select one of two option (Radio) buttons on the form. This would place the user in the correct place to add the missing information.
I have been unable to programically "Click" the button. in VBA.
....
If Range("I4").Value = "" Then
CatReturn.ob3.Value = False ' reset radio button in another frame
CatReturn.ob4.Value = False ' reset radio button in another frame
CatReturn.ob11.Value = False ' toggle radio button in frame fr2 off
CatReturn.ob12.Value = True ' toggle radio button in frame fr2 on
CatReturn.fr2.Visible = True
CatReturn.Show 'Make form visible
ob12 is the button I want to click but I haven't found a way to do that with VBA. could somebody tell me how to "Click" ob12?
I have been unable to programically "Click" the button. in VBA.
....
If Range("I4").Value = "" Then
CatReturn.ob3.Value = False ' reset radio button in another frame
CatReturn.ob4.Value = False ' reset radio button in another frame
CatReturn.ob11.Value = False ' toggle radio button in frame fr2 off
CatReturn.ob12.Value = True ' toggle radio button in frame fr2 on
CatReturn.fr2.Visible = True
CatReturn.Show 'Make form visible
ob12 is the button I want to click but I haven't found a way to do that with VBA. could somebody tell me how to "Click" ob12?