+ Reply to Thread
Results 1 to 2 of 2

VBA Excel 2007 Changing Protection Parameters

  1. #1
    Registered User
    Join Date
    07-29-2010
    Location
    Cleveland, Ohio, US
    MS-Off Ver
    Excel 2007
    Posts
    20

    VBA Excel 2007 Changing Protection Parameters

    I am using macros with a worksheet that is protected. I unprotect it and run the macro, but when I try to re-protect it, my parameters are reset. I have tried writing the code to specify the parameters, but I receive a syntax error. Here is my protection code:



    Please Login or Register  to view this content.

  2. #2
    Registered User
    Join Date
    07-29-2010
    Location
    Cleveland, Ohio, US
    MS-Off Ver
    Excel 2007
    Posts
    20

    Re: VBA Excel 2007 Changing Protection Parameters

    I solved the original problem, but it created a new one: the sheet would be left unprotected. I solved that problem and got the sheet to be protected, but then it would not allow the data to be sorted, even though sorting is allowed in the code. Here is what I have so far:

    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