Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
C C is offline
external usenet poster
 
Posts: 61
Default Empty Cell Validation

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,
--
C
  #2   Report Post  
Posted to microsoft.public.excel.misc
C C is offline
external usenet poster
 
Posts: 61
Default Empty Cell Validation

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

--
C


"C" wrote:

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,
--
C

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Advanced cell validation help needed pls Bullman Excel Discussion (Misc queries) 8 June 5th 06 02:16 PM
Help with this conditional IF statement C-Dawg Excel Discussion (Misc queries) 3 May 15th 06 06:01 PM
How do I leave formula cell blank if 2nd reference cell is empty? Liana S Excel Discussion (Misc queries) 2 October 21st 05 04:38 PM
Text wider than one cell is not displayed in the next empty cell Len Pace Excel Discussion (Misc queries) 5 February 18th 05 12:24 AM
make a cell empty based on condition mpierre Charts and Charting in Excel 2 December 29th 04 01:01 PM


All times are GMT +1. The time now is 02:17 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"