Results 1 to 4 of 4

protecting all worksheets of the workbook and open access to filter

Threaded View

  1. #1
    Forum Contributor
    Join Date
    08-10-2010
    Location
    Tavira, POrtugal
    MS-Off Ver
    Excel 2010
    Posts
    132

    protecting all worksheets of the workbook and open access to filter

    good day. who the hell can give a help for this macro.

    what I want is to protect the leaves but leaving open access to filter a column only.

    grateful

    Sub Protect_Sheets()
    
    Dim ws As Worksheet
    
    For Each ws In Worksheets
    
        ws.Protect Password:="Password"
    
    Next ws
    
    End Sub
    Last edited by Birnen; 01-13-2011 at 06:28 AM.

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