create Option Group From VB (CreateControl)

Soulac

New Member
Joined
Mar 19, 2004
Messages
12
I have a problem where i need to create a tracking database I have a main form with 12 options of which the user can select 1 each enables a combo box with up to a further 6 options. Each of these 6 options triggers a sub form with up to 5 buttons in an option group.....

what this would mean in brief is that I have a main form with up to 72 subforms !!!!!! Ugh!!!!

What I would like to do is set up all the responses in a table and give them a sub code 1a,1b,1c,2a,2b,3a,3c.........11c,1d,12a,12b,12c etc. select the reqd sub group as a recordset and insert them into an option group on a form .

Does anyone know if it is possible to create an option group from VBA and if so does anyone have any idea how to implement it ??

I Have Since Found the createControl Sheet on the KB If anyone has any examples of using this with option groups i would be most greatful
 

Excel Facts

What did Pito Salas invent?
Pito Salas, working for Lotus, popularized what would become to be pivot tables. It was released as Lotus Improv in 1989.

Forum statistics

Threads
1,214,714
Messages
6,121,046
Members
449,007
Latest member
cloamp

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top