+ Reply to Thread
Results 1 to 3 of 3

Excel 2007: Code to allow auto filter in protected sheet

  1. #1
    Registered User
    Join Date
    10-10-2011
    Location
    England
    MS-Off Ver
    Excel 2007
    Posts
    21

    Excel 2007: Code to allow auto filter in protected sheet

    I have a code which protects the sheets on exit (see below). I need help creating a code that will protect the sheets, whilst allowing autofilter.

    Hours of searching forums have returned results, none of which seem to be effective. Microsoft help site was no good either, as their solution is for excel 2000 only.
    So far i have:
    Please Login or Register  to view this content.
    Any help would be greatly appreciated.
    Last edited by Sph01; 10-10-2011 at 09:10 AM.

  2. #2
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS365 Family 64-bit
    Posts
    24,696

    Re: Excel 2007: Code to allow auto filter in protected sheet

    This worked for me. I indented your code but the only real change was adding the underlined parameter:

    Please Login or Register  to view this content.
    Jeff
    | | |會 |會 |會 |會 | |:| | |會 |會
    Read the rules
    Use code tags to [code]enclose your code![/code]

  3. #3
    Registered User
    Join Date
    10-10-2011
    Location
    England
    MS-Off Ver
    Excel 2007
    Posts
    21

    Re: Excel 2007: Code to allow auto filter in protected sheet

    Worked perfectly.

    Thank you 6StringJazzer!

+ 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