I have two combo boxes and I'm trying to do some checking if the end user selects a value and if not display a message. I'm getting an "invalid qualifier" error. Here is my code:
Dim stdate As String
Dim endate As String
stdate = cbostartdate.Value
endate = cboenddate.Value
If IsNull(stdate.Value) Then
MsgBox ("Please select a start date")
ElseIf IsNull(endate.Value) Then
MsgBox ("Please select an end date")
End If
Any ideas?