+ Reply to Thread
Results 1 to 2 of 2

Problem with Data Validation VBA code and protected sheets. Please help.

  1. #1
    Registered User
    Join Date
    03-07-2011
    Location
    Detroit, MI
    MS-Off Ver
    Excel 2003, 2007, & 2010
    Posts
    52

    Problem with Data Validation VBA code and protected sheets. Please help.

    So I'm using the following code to prevent the deletion of data validation in my sheet and it seems to work great until I turn the sheet protection on. I've tried unprotecting the sheet first in the code but it doesn't seem to follow through with the validation check after it turns off the protection. Any idea what my problem is? Thanks for the help. I would also prefer not to have to turn the protection off and back on if there is another way I can get the code to run with the protection on.

    Please Login or Register  to view this content.

  2. #2
    Registered User
    Join Date
    03-07-2011
    Location
    Detroit, MI
    MS-Off Ver
    Excel 2003, 2007, & 2010
    Posts
    52

    Re: Problem with Data Validation VBA code and protected sheets. Please help.

    I must have something to do with the function. I don't seem to have any other issues with my macros running in protected mode. I've updated the code a bit to handle an automatic paste value on the cells that don't have formulas. It is attached below. Any help or ideas are appreciated.

    Please Login or Register  to view this content.

+ 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