View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
TheGerman TheGerman is offline
external usenet poster
 
Posts: 2
Default Protection and Auto filter

Hello,

I have have a Tabel that uses the Auto Filter option, i secured my Sheet with:
ActiveSheet.Protect DrawingObjects:=False, Contents:=True, Scenarios:= _
False, AllowSorting:=True, AllowFiltering:=True

on opening of the document.

when I click on the AutoFilter button to Sort Accending it gives me an error
message "The cell or chart you are trying to change is protected and
therefore read-only"

How can i have the fields protected but let it sort?

thank you,

Daniel Schmidt