Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
MichaelJDrake
 
Posts: n/a
Default How to protect formula's, but allow autofilter


Please help, if I want to protect the formula's in a workbook, but allow
the adminstrator to use autofilter. How do I do this and is it possible?


--
MichaelJDrake
------------------------------------------------------------------------
MichaelJDrake's Profile: http://www.excelforum.com/member.php...o&userid=31892
View this thread: http://www.excelforum.com/showthread...hreadid=516178

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Dave Peterson
 
Posts: n/a
Default How to protect formula's, but allow autofilter

If you already have the outline/subtotals 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

MichaelJDrake wrote:

Please help, if I want to protect the formula's in a workbook, but allow
the adminstrator to use autofilter. How do I do this and is it possible?

--
MichaelJDrake
------------------------------------------------------------------------
MichaelJDrake's Profile: http://www.excelforum.com/member.php...o&userid=31892
View this thread: http://www.excelforum.com/showthread...hreadid=516178


--

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
Cant find & delete invalid formulas or links Ramon Gavin Excel Discussion (Misc queries) 3 December 8th 05 02:45 PM
Protecting formulas in a workbook calimari Excel Worksheet Functions 3 July 6th 05 09:08 PM
Need Formulas for counting multiple conditions OrdOff Excel Worksheet Functions 4 July 3rd 05 06:12 PM
How do I protect cell formulas used for daily counts? Pilar Excel Worksheet Functions 0 March 4th 05 11:59 PM
calculating formulas for all workbooks in a folder Chad Excel Worksheet Functions 3 November 13th 04 05:22 PM


All times are GMT +1. The time now is 09:43 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"