Compile Error Expected Case

Spam808

Registered User.
Local time
Today, 11:37
Joined
Dec 3, 2018
Messages
55
I am working on creating hidden text boxes. Based on the selection from a combo box, it will display the hidden text boxes. I didnt get a chance to finish writing my code. It is displaying Complie Error Expected Case.

Private Sub Form_Current()
Dim Visible As Boolean
Select cboRowNumbers.Value
Case "",
Visible = False
Case Else
Visible = True
End Select
End Sub
 
Hi,

You want...

Code:
Select Case Me.cboRowNumbers
Hope it helps...
 
And it is a comma to much here:
Code:
Case ""[B][COLOR=Red],[/COLOR][/B]
 
You're welcome. We're happy to assist. Cheers!
 

Users who are viewing this thread

Back
Top Bottom