Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
My colleague has a workbook with multiple worksheets. the first sheet is a
sum of the data, and the other sheets have the data needed for the calculations. On the first sheet, I would like to have a drop down box that changes the values in multiple rows (eg: C4-K4) depending on what is selected on the drop down box (the drop down box value will be the names of the other sheets). Would this be best done as a macro, in VB, or another way? also, I thought of using a case select to choose the rows (ie: change the "C" in "C4" to the next letter), but it has been awhile since I used them. would they be the best solution rather than having LOADS of lines of code (sorta answered my own question, but I don't know enough about coding in excel, other than it may be similar to other office VB code) -- Message posted via OfficeKB.com http://www.officekb.com/Uwe/Forums.a...mming/200705/1 |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
You could use a bunch of INDIRECT functions, keyed to the cell with the sheet name (if the
'drop-dwon box is from Data Validation, using the list feature), along the lines of: =INDIRECT("'" & A1 & "'!B3") =INDIRECT("'" & A1 & "'!C3") Etc... HTH, Bernie MS Excel MVP "OTWarrior via OfficeKB.com" <u33269@uwe wrote in message news:72e824a7136df@uwe... My colleague has a workbook with multiple worksheets. the first sheet is a sum of the data, and the other sheets have the data needed for the calculations. On the first sheet, I would like to have a drop down box that changes the values in multiple rows (eg: C4-K4) depending on what is selected on the drop down box (the drop down box value will be the names of the other sheets). Would this be best done as a macro, in VB, or another way? also, I thought of using a case select to choose the rows (ie: change the "C" in "C4" to the next letter), but it has been awhile since I used them. would they be the best solution rather than having LOADS of lines of code (sorta answered my own question, but I don't know enough about coding in excel, other than it may be similar to other office VB code) -- Message posted via OfficeKB.com http://www.officekb.com/Uwe/Forums.a...mming/200705/1 |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How do I change letters in a drop down box | Excel Worksheet Functions | |||
change event for drop down | Excel Programming | |||
How do I change the output value of a drop down box? | Excel Discussion (Misc queries) | |||
Getting drop down to change next cell | Excel Discussion (Misc queries) | |||
change info in other cells when i change a number in a drop list? | Excel Discussion (Misc queries) |