Put something like the following in the ComboBox1_Change event procedure:
Code:
Select Case ComboBox1.Value
Case 1
ComboBox2.Enabled = True
Case 2
ComboBox2.Enabled = True
Case 3
ComboBox2.Enabled = False
Case 4
ComboBox2.Enabled = True
End Select
Cheers,
Joerd
Please see FAQ731-376 for tips on how to make the best use of Eng-Tips.