If the user selects 'E1 Mainline' (from the first combobox) then the second
combobox appears with 7 selections. The user will select one of the 7 options
in the second combobox. Then a range of criteria will appear in cells. This
criteria will change for each selection out of the 7 choices in the second
combobox. And the second combobox will change pending on the selection from
the first combobox.
Tom Ogilvy wrote:
Guess there is a typo in the code
Public Sub E1Pipe1_Change()
Worksheets("Program").Range("B9").Value = _
Worksheets("Program").DropDowns("typeE").Value
End sub
All it does it put in the value selected in dropdown typeE into cell B9 (as
written).
It is unclear why you would need a case statement within this code.
if the user selects
E1: Mainline or Public Road Approach
from the dropdown, then cell B9 will contain
E1: Mainline or Public Road Approach
If you want something else, then you need to explain what you want.
It will only change the value of the cell. It will not affect formatting.
Whenever I input your code, an error message comes up saying there needs to
be a seperator. Also, after that code do I just start in with the Case 1...or
[quoted text clipped - 14 lines]
change the cells each time a user clicks on a different option. Any help
would be greatly appreciated!
--
Message posted via OfficeKB.com
http://www.officekb.com/Uwe/Forums.a...mming/200602/1