Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Spyder
 
Posts: n/a
Default Error/Warning Message for Null Cells

Is it possible to add validation to a cell such that if it is null an
error/warning message appears? The cell should allow any value to be
entered, it just can't be null.

Thanks!
  #2   Report Post  
Dave Peterson
 
Posts: n/a
Default

I don't think so via Data|Validation.

But maybe you could just use an adjacent cell (formatted in nice big bold red
letters):

=if(a1<"","","<-- This cell cannot be empty")



Spyder wrote:

Is it possible to add validation to a cell such that if it is null an
error/warning message appears? The cell should allow any value to be
entered, it just can't be null.

Thanks!


--

Dave Peterson
  #3   Report Post  
JulieD
 
Posts: n/a
Default

Hi

you can't do it via data / validation - as this only works when someone
enters something into the cell - you could however, put code against a
worksheet_selectionchange, workbook_beforeprint or workbook_beforeclose
event - which ever is the most appropriate that doesn't let them select
another sheet / print or close the workbook without data in a specific
place.
If you'ld like additional information on how to this, please nominate an
event and the cell(s) you want to check.

Cheers
JulieD

"Spyder" wrote in message
...
Is it possible to add validation to a cell such that if it is null an
error/warning message appears? The cell should allow any value to be
entered, it just can't be null.

Thanks!



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
REVISED ?? - populate limited cells w/ set value Jane Excel Worksheet Functions 1 March 19th 05 02:29 PM
Blank Cells in Pivot Tables Greg Excel Discussion (Misc queries) 1 March 16th 05 09:23 PM
Pop Up Message AK Excel Discussion (Misc queries) 9 March 12th 05 07:28 PM
Protecting Workbook Paul Cooling Excel Discussion (Misc queries) 2 March 7th 05 11:55 AM
Convert data of cells to any type: Number, Date&Time, Text Kevin Excel Discussion (Misc queries) 0 December 30th 04 06:55 AM


All times are GMT +1. The time now is 07:25 PM.

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

About Us

"It's about Microsoft Excel"