Solved Set focus to option in a Option Group (1 Viewer)

oxicottin

Learning by pecking away....
Local time
Today, 06:29
Joined
Jun 26, 2007
Messages
856
Hello, when I close my form2 I want to set an option "opt1" as selected in form1 option group "optReportGroup". What VBA do I use in the close of form 2 to make this happen?
 

cheekybuddha

AWF VIP
Local time
Today, 11:29
Joined
Jul 21, 2014
Messages
2,280
What is the value of opt1?

Normally you just set the value of the option group.

EG
Me.optReportGroup = 1
 

oxicottin

Learning by pecking away....
Local time
Today, 06:29
Joined
Jun 26, 2007
Messages
856
What is the value of opt1?

Normally you just set the value of the option group.

EG
Me.optReportGroup = 1
its option 1, I kept thinking I had to set focus to the group then the option.... Thanks that worked!
 

Users who are viewing this thread

Top Bottom