Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations John Tel on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

If statement to determine if a cell is blank to return a MsgBox 1

Status
Not open for further replies.

RyanScharfy

Technical User
Jun 17, 2003
86
US
I'm running the following, and cell A2 has no data, it's blank, and I'd like the message to pop up, but it's not happening. Any ideas?

' Validate that data is available
Sheets("AABS").Select
If IsEmpty(Range("A2").Select) Then
MsgBox "The combination you have chosen returns no data. Please review your choices and try again."
Else
' Start
Sheets("AABS").Select
End If
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top