use a button to choose a different sheet based on another sh

Amy DeLuca

New Member
Joined
Oct 18, 2002
Messages
39
I have a couple of comboboxs on the first sheet, the next sheet the user has to enter data and click a button. I want the button to send them to another sheet based on the choice/s that the user made in the two comboboxs.

Some of the sheets have the same name as the options in the combobox but others are different. Like two options in combobox2 (Housekeeping/Custodial & Plant Operations) need to go to the "Facilities" sheet. Whereas two options from combobox1 (HC Acute & HC Services) need to be directed to the "HC Division" sheet and possibly another sheet from combobox2...Like if the user selected "HC Acute" in combobox1 and then "Plant Operations" in combobox2 the user would need to complete the "HC Division" Sheet as well as the "Facilities" sheet.
Can you help????
Thank you again sooooo much!
Amy
 

Excel Facts

Can you AutoAverage in Excel?
There is a drop-down next to the AutoSum symbol. Open the drop-down to choose AVERAGE, COUNT, MAX, or MIN

jimboy

Well-known Member
Joined
Apr 11, 2002
Messages
2,314
Amy,

Are the combo boxes linked to cells, if so you could try this;

If Range("A1") = "Housekeeping/Custodial & Plant Operations" then
Sheets("Facilities").select
else
Sheets("HC Division").Select
end if
 

Amy DeLuca

New Member
Joined
Oct 18, 2002
Messages
39
Jim...I tried putting the following in and it doesn't work. What do you think?

If Range("e13") = "Health Care Acute" Then Sheets("HC Division").Select
If Range("e13") = "Health Care Senior Services" Then Sheets("HC Division").Select
Else

If Range("e18") = "Food Services" Then Sheets("Food Services").Select
If Range("e18") = "Housekeeping/Custodial" Then Sheets("Facilities").Select
If Range("e18") = "Plant Operations" Then Sheets("Facilities").Select
If Range("e18") = "Vending Service" Then Sheets("Vending Service").Select
End If

i can't get this thing to work...thank you for your help!!!
 

Forum statistics

Threads
1,143,640
Messages
5,719,985
Members
422,256
Latest member
downeybm

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
Top