+ Reply to Thread
Results 1 to 7 of 7

Validation Integrity

Hybrid View

  1. #1
    Registered User
    Join Date
    07-11-2011
    Location
    New Jersey
    MS-Off Ver
    Excel 2007
    Posts
    40

    Validation Integrity

    I created a validation rule for some cells which won't allow changes to the cells based on date.

    For example on August 1 no entries are allowed to cells in columns for Jan - July.


    It works when the user tries to enter new data but doesn't work with the user simply copies data from elsewhere and simply pastes into the column like June.

    This, hence, isnt' as robust a validation as I would like. Any thoughts on how to make it more secure?

  2. #2
    Registered User
    Join Date
    07-11-2011
    Location
    New Jersey
    MS-Off Ver
    Excel 2007
    Posts
    40

    Re: Validation Integrity

    bump, bump, bump it up!

  3. #3
    Forum Expert Ace_XL's Avatar
    Join Date
    06-04-2012
    Location
    UAE
    MS-Off Ver
    2016
    Posts
    6,074

    Re: Validation Integrity

    Instead of data vlaidation, try locking up the cells (jan-June) and making it a protected sheet
    Life's a spreadsheet, Excel!
    Say thanks, Click *

  4. #4
    Registered User
    Join Date
    07-11-2011
    Location
    New Jersey
    MS-Off Ver
    Excel 2007
    Posts
    40

    Re: Validation Integrity

    that is a solution - but not the most practical, as I have about 30 sheets (one per each employee). with the data validation, using dates, i can lock any of them with the one entry to a cell - doing it your suggested way would require visiting each tab and changing the protected cells - unless you have an easier way of doing it....

  5. #5
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: Validation Integrity

    There's the issue with data validation. It only works if you type in the information. As soon as you paste, everythings out the window. So the solution is to use a VBA approach and disable every possible way that the user can use paste, not a small undertaking. Of course then, you also need to ensure that the user enables macros.
    ChemistB
    My 2?

    substitute commas with semi-colons if your region settings requires
    Don't forget to mark threads as "Solved" (Edit First post>Advanced>Change Prefix)
    If I helped, Don't forget to add to my reputation (click on the little star at bottom of this post)

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

  6. #6
    Registered User
    Join Date
    07-11-2011
    Location
    New Jersey
    MS-Off Ver
    Excel 2007
    Posts
    40

    Re: Validation Integrity

    well that stinks.....

  7. #7
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: Validation Integrity

    Another solution, also VBA, is to paste the validation back in there (from a hidden sheet perhaps). Again it requires that macros be enabled. I concur that it does stink.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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