A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
Use
If Me.txt_Start = "" Then
MsgBox "You must enter a Start Date!"
End If
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
I have a UserForm. I want to test for missing data when I click on the continue button.
In MS Access vba it would look like the code below. But seems that vba in Excel runs differently. Any thoughts on how I can achieve the same result?
If IsNull(txt\_Start) Then
MsgBox "You must enter a Start Date"
End If
A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.
Answer accepted by question author
Use
If Me.txt_Start = "" Then
MsgBox "You must enter a Start Date!"
End If