Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
Brendan Vassallo
 
Posts: n/a
Default Using Autofilter on a Protected Worksheet

I am using XL 2000. The sheet I have requires the AutoFilter function,
however I also wish to protect it. When I do protect it, the AutoFilter does
not work. Is there any way around this. I know if I was using XP there is
an option to protect the worksheet but leave the AutoFiler functioning, but I
can not find that option on the XL 2000 version I am using. Please HELP!!!
  #2   Report Post  
Posted to microsoft.public.excel.misc
Dave Peterson
 
Posts: n/a
Default Using Autofilter on a Protected Worksheet

If you already have the outline/subtotals/autofilter applied, you can protect
the worksheet in code (auto_open/workbook_open??).

Option Explicit
Sub auto_open()
With Worksheets("sheet1")
.Protect Password:="hi", userinterfaceonly:=True
'.EnableOutlining = True
.EnableAutoFilter = True
End With
End Sub

It needs to be reset each time you open the workbook. (excel doesn't remember
it after closing the workbook.)

If you're new to macros, you may want to read David McRitchie's intro at:
http://www.mvps.org/dmcritchie/excel/getstarted.htm

Brendan Vassallo wrote:

I am using XL 2000. The sheet I have requires the AutoFilter function,
however I also wish to protect it. When I do protect it, the AutoFilter does
not work. Is there any way around this. I know if I was using XP there is
an option to protect the worksheet but leave the AutoFiler functioning, but I
can not find that option on the XL 2000 version I am using. Please HELP!!!


--

Dave Peterson
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to view a custom view when the worksheet is protected? JulesJam Excel Worksheet Functions 0 March 6th 06 02:15 PM
E-mailing a Protected Worksheet Gabe Excel Discussion (Misc queries) 1 February 10th 06 02:58 AM
Run macros on protected worksheet Lisa D'K Excel Worksheet Functions 0 February 4th 06 08:06 PM
Insert comment in protected worksheet The Tuner Excel Worksheet Functions 2 June 6th 05 11:38 PM
How use group and ungroup functions while worksheet is protected Gabriel De la Garza Excel Worksheet Functions 1 November 17th 04 01:44 AM


All times are GMT +1. The time now is 05:55 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"