I have created a user form that will send data to an excel file. I have several combo boxes and two dt pickers in the form. I have added code to give a message box if the user does not enter data in the combo boxes, but I can't figure out how to do the same for the dt pickers. Any ideas?
Here's what I'm using for the combo boxes:
'check for a downtime category
If Trim(Me.cboCategory.Value) = "" Then
Me.cboCategory.SetFocus
MsgBox "Please enter a Downtime Category"
Exit Sub
End If
I am brand new to VBA, so please "type slowly." Thanks.
Here's what I'm using for the combo boxes:
'check for a downtime category
If Trim(Me.cboCategory.Value) = "" Then
Me.cboCategory.SetFocus
MsgBox "Please enter a Downtime Category"
Exit Sub
End If
I am brand new to VBA, so please "type slowly." Thanks.