How do I stop users copying and pasting their own entries into a column set up with data validation?

Posted on 2018-03-08
Medium Priority
Last Modified: 2018-03-14
How do I stop users overwriting a validation list by copying and pasting their own entries into it - basically defeating the reason for the validation list in the first place...Presume it's to do with cell protection?
Question by:agwalsh
  • 2
LVL 23

Expert Comment

by:Roy Cox
ID: 42492324
There's some VBA code  here and accompanying explanation.
LVL 35

Expert Comment

by:Rob Henson
ID: 42492502
That linked article assumes that the entry being pasted in does not meet the Data Validation.

What if the user has several entries that are the same and the entry is valid for the Data Validation? Preventing copy and paste would stop the user from quickly entering valid answers.

Selecting cells and pressing Ctrl D to fill down from an invalid cell; this will delete the DV in the particular cell in the same way that Pasting does.

Author Comment

ID: 42492668
The scenario was with not matching data so the solution given does "solve" it ..that's why I gave @Roy Cos Best solution...thanks.
LVL 23

Expert Comment

by:Roy Cox
ID: 42495418
agwash, you haven't actually awarded any points or closed the question

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Join & Write a Comment

When you see single cell contains number and text, and you have to get any date out of it seems like cracking our heads.
Are you looking to start a business? Do you own and operate a small company? If so, here are some courses you need to take before you hire a full-time IT staff.
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
Enter Foreign and Special Characters Enter characters you can't find on a keyboard using its ASCII code ... and learn how to make a handy reference for yourself using Excel ~ Use these codes in any Windows application! ... whether it is a Micr…

588 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question