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

Square and cube roots
The =SQRT(25) is a square root. For a cube root, use =125^(1/3). For a fourth root, use =625^(1/4).
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,215,036
Messages
6,122,796
Members
449,095
Latest member
m_smith_solihull

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