select case not able to run module?
Posted by andy evans on November 15, 2001 4:58 AM
Dear all
have set up a number of modules plus a user form.
The user form has the following code
Private Sub CommandButton1_Click()
Select Case ComboBox1.Value
Case "Junior Wheelchair"
findjw
End Select
End Sub
it will of course have several more 'cases'
but when i run it i get the following msg
compile error
expected variable or procedure, not module
does that mean i can't use it to run a module?
(I can solve it with 'if' statements but I dont want to!)
andy