Compile Error Expected Case (1 Viewer)

Spam808

Registered User.
Local time
Today, 05:46
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
 

theDBguy

I’m here to help
Staff member
Local time
Today, 05:46
Hi,

You want...

Code:
Select Case Me.cboRowNumbers
Hope it helps...
 

JHB

Have been here a while
Local time
Today, 14:46
And it is a comma to much here:
Code:
Case ""[B][COLOR=Red],[/COLOR][/B]
 

Users who are viewing this thread

Top Bottom