Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
RWN
 
Posts: n/a
Default Invalid Validation if cell "Delete"d

xl2k on w2kPro

Set up a Validation as a "Whole Number" in range of 1-12 on a "number" formatted cell.

If I select the cell and "Delete" it the Validation let's me leave it that way?
i.e.. I want to ensure that a valid value is present (and in range).

What am I missing?
--
Regards;
Rob
------------------------------------------------------------------------


  #2   Report Post  
GaryDK
 
Posts: n/a
Default

Hi RWN,

Try unchecking "Ignore blank" when you set up the validation, assuming
that by "Delete" you mean clear contents.

Gary

  #3   Report Post  
Debra Dalgleish
 
Posts: n/a
Default

If the user enters an invalid value, they'll see an error message. If
'Ignore blanks' is unchecked, and they click Retry, then press the
Delete key, they'll see another error message, because the blank cell
won't be allowed as a replacement.

However, Data Validation allows users to use the Delete key to clear a
cell in other circumstances.


RWN wrote:
xl2k on w2kPro

Set up a Validation as a "Whole Number" in range of 1-12 on a "number" formatted cell.

If I select the cell and "Delete" it the Validation let's me leave it that way?
i.e.. I want to ensure that a valid value is present (and in range).

What am I missing?



--
Debra Dalgleish
Excel FAQ, Tips & Book List
http://www.contextures.com/tiptech.html

  #4   Report Post  
RWN
 
Posts: n/a
Default

Debra;
However, Data Validation allows users to use the Delete key to clear a
cell in other circumstances.


Your scenario is the experience I'm having and, I take it, is "by design".
(As this is part of a template using VBA I can edit for the condition on my own, so it's
not a problem.)

I'm a wiser person thanks to you.
Much obliged.
--
Regards;
Rob
------------------------------------------------------------------------


  #5   Report Post  
RWN
 
Posts: n/a
Default

Thanks Gary.

Your response showed up at the same time as Debra Dalgleish's.

Problem resolved (see my reply to Debra).

Thanks for your time.

--
Regards;
Rob
------------------------------------------------------------------------
"GaryDK" wrote in message
ups.com...
Hi RWN,

Try unchecking "Ignore blank" when you set up the validation, assuming
that by "Delete" you mean clear contents.

Gary



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
List, Data Validation, unlocked cell, protected sheet..... Kane New Users to Excel 6 July 16th 12 09:11 AM
Cell Validation Simon Shaw Excel Discussion (Misc queries) 5 March 3rd 05 11:51 PM
Validation depends on cell value SteveT Excel Worksheet Functions 2 January 31st 05 06:17 PM
how to add two data validation lists to a single cell? Mike Peter Excel Worksheet Functions 1 December 8th 04 08:22 PM
GET.CELL Biff Excel Worksheet Functions 2 November 24th 04 07:16 PM


All times are GMT +1. The time now is 12:58 AM.

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"