Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8
Default "Paste" overwrites Verification Controls

I have a spreadsheet with many cells set to Validate - List. The drop down
lists work fine... UNLESS someone comes along and "Pastes" something into the
cell at which time, the pasted data is there, the Validate does not prevent
it and the drop-down list is no longer available for that cell.

What can I do to make "Validation" stronger so no one can enter anything but
what is in the list?
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,231
Default "Paste" overwrites Verification Controls

"Mack Neff" wrote...
....
What can I do to make "Validation" stronger so no one can enter anything
but
what is in the list?


You can't do anything that'll ensure no invalid entries. There's no way to
strengthen Data Validation. You could use macros, specifically Change or
SheetChange event handlers, but they require macros AND event handlers be
enabled, and it's easy enough for users to disable macros or event handlers.

The old fashioned approach is the only robust way to deal with invalid
entries: use formulas in other cells to test the validity of entry cells. If
entries are invalid, propagate nothing but errors in downstream
calculations, and use other formulas to display error messages saying what's
wrong. In my experience, giving users garbage out when they provide garbage
in as well as telling them how their entries are garbage is the surest way
of getting them to make valid entries.


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8
Default "Paste" overwrites Verification Controls

Is there a way to turn off the "Paste" function?

"Harlan Grove" wrote:

"Mack Neff" wrote...
....
What can I do to make "Validation" stronger so no one can enter anything
but
what is in the list?


You can't do anything that'll ensure no invalid entries. There's no way to
strengthen Data Validation. You could use macros, specifically Change or
SheetChange event handlers, but they require macros AND event handlers be
enabled, and it's easy enough for users to disable macros or event handlers.

The old fashioned approach is the only robust way to deal with invalid
entries: use formulas in other cells to test the validity of entry cells. If
entries are invalid, propagate nothing but errors in downstream
calculations, and use other formulas to display error messages saying what's
wrong. In my experience, giving users garbage out when they provide garbage
in as well as telling them how their entries are garbage is the surest way
of getting them to make valid entries.



  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,231
Default "Paste" overwrites Verification Controls

"Mack Neff" wrote...
Is there a way to turn off the "Paste" function?

....

You could use VBA code to disable or remove the Edit Paste and Edit
Paste Special menu commands and remap [Shift]+[Insert] and [Ctrl]+V to do
nothing, but all of these are fairly easy to reset, and they rely on macros
being enabled in the first place.


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 Linking workbooks via "copy" and "paste link" Arkitek Excel Discussion (Misc queries) 0 December 19th 06 10:03 PM
Shortcut key for "Paste Options" and "Error Checking" buttons? johndog Excel Discussion (Misc queries) 1 October 6th 06 11:56 AM
Count occurences of "1"/"0" (or"TRUE"/"FALSE") in a row w. conditions in the next BCB New Users to Excel 7 May 13th 06 10:02 PM
Complex if test program possible? If "value" "value", paste "value" in another cell? jseabold Excel Discussion (Misc queries) 1 January 30th 06 10:01 PM
activex controls, no "Control tab" John Van Horn Excel Discussion (Misc queries) 2 November 16th 05 12:01 PM


All times are GMT +1. The time now is 10:04 AM.

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"