Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
WCM WCM is offline
external usenet poster
 
Posts: 59
Default Data Validation - Copypaste special problem

I have set validation on one column in an Excel sheet (validation from 'List').

If the user types in a value that is not on the List, then Excel returns the
message box (as it should) telling the user that this value is not allowed.

However, if a user copies a value from another cell and does a 'paste
special value' into the data validation cell, Excel will allow this (i.e.,
will allow the value to remain in the cell even though it is not on the list
of allowed values, and Excel will return no message box telling the user that
this value is not allowed).

Am I missing something?

Thanks in advance for your help.

bill

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,979
Default Data Validation - Copypaste special problem

Data validation only tests information that is typed in the cell, not
values that are pasted, even if Paste Special, Values is used.

For that level of validation, you could use programming. Or, add
formulas to other cells that display an error message if invalid entries
are made.

WCM wrote:
I have set validation on one column in an Excel sheet (validation from 'List').

If the user types in a value that is not on the List, then Excel returns the
message box (as it should) telling the user that this value is not allowed.

However, if a user copies a value from another cell and does a 'paste
special value' into the data validation cell, Excel will allow this (i.e.,
will allow the value to remain in the cell even though it is not on the list
of allowed values, and Excel will return no message box telling the user that
this value is not allowed).

Am I missing something?

Thanks in advance for your help.

bill



--
Debra Dalgleish
Contextures
http://www.contextures.com/tiptech.html

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 29
Default Data Validation - Copypaste special problem

Debra, thank you. Now I know what I need to do - a little more work (but
fun work). Thanks again.

"Debra Dalgleish" wrote:

Data validation only tests information that is typed in the cell, not
values that are pasted, even if Paste Special, Values is used.

For that level of validation, you could use programming. Or, add
formulas to other cells that display an error message if invalid entries
are made.

WCM wrote:
I have set validation on one column in an Excel sheet (validation from 'List').

If the user types in a value that is not on the List, then Excel returns the
message box (as it should) telling the user that this value is not allowed.

However, if a user copies a value from another cell and does a 'paste
special value' into the data validation cell, Excel will allow this (i.e.,
will allow the value to remain in the cell even though it is not on the list
of allowed values, and Excel will return no message box telling the user that
this value is not allowed).

Am I missing something?

Thanks in advance for your help.

bill



--
Debra Dalgleish
Contextures
http://www.contextures.com/tiptech.html


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
Problem with Data Validation and limiting characters MagnoliaSouth Excel Worksheet Functions 2 October 2nd 06 02:52 AM
Data Validation problem EdMac Excel Discussion (Misc queries) 0 August 21st 06 09:28 AM
Excel Macro to Copy & Paste [email protected] Excel Worksheet Functions 0 December 1st 05 01:56 PM
Printing data validation scenarios SJC Excel Worksheet Functions 14 July 24th 05 12:43 AM
Sort pages? David Excel Discussion (Misc queries) 15 May 13th 05 11:33 PM


All times are GMT +1. The time now is 12:23 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"