Empty Cell Validation

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have a cell in worksheet that needs to be filled in prior to closing file
OR clicking control to be directed to secondary worksheets. Data validation
only provides error messages upon entering a value; I need an error message
if the cell is overlooked. TIA for any help,
 
I think I've found the correct code. How's this?

Private Sub Worksheet_OnExit()
If Sheet1.Range("A91") = "" Then
MsgBox "Please enter contact information at bottom of form."
End If

End Sub
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top