T
theintern
I have some code for a combo box in a user form. however, i'd like it to run
each time the user selects a value from from the box, even if it is the same
value. right now it only runs if the user changes the value. i tried
putting it to trigger on Exit, instead of Change, but that said the
"Procedure declaration does not match description of event or precedure
having the same name."
Help please
thanks
scott
Private Sub MonthBox_Change()
If Not (MonthBox.Value = "Select month") Then
YearBox_Change
End If
End Sub
'YearBox_Change is a sub right below MonthBox which has some code in it, but
nothing that should be causing this. I tried changing YearBox and MonthBox
to Exit and both give me that error
each time the user selects a value from from the box, even if it is the same
value. right now it only runs if the user changes the value. i tried
putting it to trigger on Exit, instead of Change, but that said the
"Procedure declaration does not match description of event or precedure
having the same name."
Help please
thanks
scott
Private Sub MonthBox_Change()
If Not (MonthBox.Value = "Select month") Then
YearBox_Change
End If
End Sub
'YearBox_Change is a sub right below MonthBox which has some code in it, but
nothing that should be causing this. I tried changing YearBox and MonthBox
to Exit and both give me that error