Hmmm, I am not sure but I would ommit the " = True" part seeing as it is unnecessary and move the brackets:
Does it work now?Code:If (CmbLateStart.Visible AndAlso CmbLateStart.SelectedItem) = "---" OrElse CmbLateStart.Text = vbNullString Then
|
Results 1 to 7 of 7
Thread: Error in IF statementThreaded View
Tags for this Thread |
Click Here to Expand Forum to Full Width |