Changing combo boxes

broadpipe

New Member
Joined
Aug 12, 2002
Messages
36
Problem

on a combo box you click on an item to run a macro...here is the coding:-

Case "option1"
Sheets("TS Buttons").Select

so when you click on option1 you are taken to 'TS buttons' sheet. The 'Option1' is picked up from a List Fill Range...however this is an ever changing range...so how do I code if say option1 is replaced by Option2...but I still want it to go to the same sheet....the coding above is for option1 alone...
 

Excel Facts

Back into an answer in Excel
Use Data, What-If Analysis, Goal Seek to find the correct input cell value to reach a desired result
???

Case "option1" "option2"
Sheets("TS Buttons").Select

_________________
JRN

Excel 2000; Windows 2000
This message was edited by Jim North on 2002-08-22 10:42
 
Upvote 0

Forum statistics

Threads
1,203,181
Messages
6,053,966
Members
444,695
Latest member
asiaciara

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