+ Reply to Thread
Results 1 to 3 of 3

Copy/Paste Overriding Data Validation

  1. #1
    Registered User
    Join Date
    04-12-2016
    Location
    Oklahoma, USA
    MS-Off Ver
    Office 2007-2010
    Posts
    30

    Copy/Paste Overriding Data Validation

    I currently have a spreadsheet with a lot of data validation settings in the cells. About half have some kind of drop down list while the others have another form of data validation (i.e. takes only decimal numbers, takes only dates, limits # of characters, etc.).

    The problem that I am having is that people are copy and pasting data from other spreadsheets into these cells. This overrides the data validation settings with the format/settings of the cells the data was copied from. I allow users to paste into these cells as long as the pasted data meets the data validation requirements or matches one of the possible drop down selections. For example, if the drop down options are "A", "B", and "C", I want to be able to paste "B" but not "X".

    I have done some research and have noticed that there are some macros that have been made that allow users to only copy and paste values. This maintains the data validation settings in the cell; however, users are still able to paste values that do not meet the data validation requirements.

    Does anyone have any ideas?

  2. #2
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Copy/Paste Overriding Data Validation

    In addition to disabling cell drag and drop, this may help:

    Please Login or Register  to view this content.
    It's not bulletproof.
    Entia non sunt multiplicanda sine necessitate

  3. #3
    Registered User
    Join Date
    04-12-2016
    Location
    Oklahoma, USA
    MS-Off Ver
    Office 2007-2010
    Posts
    30

    Re: Copy/Paste Overriding Data Validation

    Thank you for the help. I really appreciate it.

    How does this macro work. Does it prevent copy/paste? I'm okay with users dragging down their selections in each column and with them pasting selections that meet the data validation requirements.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Copy & paste with data validation
    By egarla in forum Excel General
    Replies: 1
    Last Post: 08-19-2014, 12:55 PM
  2. Data validation - copy/paste problem
    By EdwardStephenson in forum Excel General
    Replies: 3
    Last Post: 05-02-2014, 11:19 AM
  3. validation rules not working when someone copy paste data on validation cell
    By jthakrar in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 05-17-2010, 03:36 AM
  4. VBA for data validation on copy / paste
    By [email protected] in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 02-07-2010, 03:40 AM
  5. Excel 2007 : Formula Overriding Data Validation
    By MacroMartin in forum Excel General
    Replies: 7
    Last Post: 08-10-2009, 04:20 PM
  6. How to prevent users overriding validation?
    By PeruvianSkies in forum Excel General
    Replies: 5
    Last Post: 04-03-2009, 01:14 PM
  7. [SOLVED] data validation and copy/paste.......
    By MPR in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 07-27-2006, 10:25 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1