Help in USerform

Rahulwork

Active Member
Joined
Jun 9, 2013
Messages
284
Hello Everyone,

I am working on a Userform and need your urgent help on the same.

Purpose of this userform to open relevant workbook which are attached in workbook as Object. I have to hide that sheet and sheet name is objectsss


In userform


I made on combo box and gave name - ComFruit

Under that i added items via UserForm_Initialize()

comComfruit.AddItem "Apple1"
comComfruit.AddItem "Apple2"
comComfruit.AddItem "Apple3"
comComfruit.AddItem "Apple4"


Also having two option buttons with the name CBXApple and CBXOrange


there are four workbook embed in workbook. object 1, object 2 and object 3 and Object 4


I want if CBXApple (optionbutton) is checked then ComFruit should show only apple 1 and apple2 and if user select apple 1 and click on generate button. Generate button name is ComGeneFruit, then object 1 workbook should open which is embed under sheet named objectsss. same apply for apple2 to open object 2




for CBXApple(optionbutton) is checked then ComFruit should show only orange1 and orange2 only. if user select orange1 and click on generate button. Generate button name is ComGeneFruit, then object 3 workbook should open. same apply for orange2 to open object 4

i think should be done by OpenEmbeddedWB()


let me know if you need any further information


Please help
 

Excel Facts

Ambidextrous Undo
Undo last command with Ctrl+Z or Alt+Backspace. If you use the Undo icon in the QAT, open the drop-down arrow to undo up to 100 steps.
Dear Rahulwork
I believe you have asked this question many times and each time you called your buttons differet things.
 
Upvote 0

Forum statistics

Threads
1,223,880
Messages
6,175,152
Members
452,615
Latest member
bogeys2birdies

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