View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Silvio Silvio is offline
external usenet poster
 
Posts: 8
Default Combo Box if... then... else question

Hello, I would like to change a cell source base once a selection made from a
combo box. After making a selection from the combo box the code should do
something like:

If MyComboBox = €śtest1€ť then
B1 = Sheet2!A1
Else
B1 has no data source (null)
End if

Whats the easiest way to accomplish my goal in Excel 2007?
PS. B1 is the cell in my fist Sheet.

Thank you,
Silvio