Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Paul
 
Posts: n/a
Default Worksheet protection vs filters

Im trying to protect my worksheet to stop other users from buggering it up
but when i protect it the filters dont work. Is there a way of making it
work on excel 2000? I have tried to do it in a macro but when i run it the
password box comes up and I manually have to put the password in so this
doesnt work! any ideas?
  #2   Report Post  
Tom Ogilvy
 
Posts: n/a
Default


With worksheets("Sheet1")
.Protect UserInterFaceOnly:=True
.enableAutoFilter
End With

--
Regards,
Tom Ogilvy


"Paul" wrote in message
...
Im trying to protect my worksheet to stop other users from buggering it up
but when i protect it the filters dont work. Is there a way of making it
work on excel 2000? I have tried to do it in a macro but when i run it

the
password box comes up and I manually have to put the password in so this
doesnt work! any ideas?



  #3   Report Post  
Fredrik Wahlgren
 
Posts: n/a
Default


"Paul" wrote in message
...
Im trying to protect my worksheet to stop other users from buggering it up
but when i protect it the filters dont work. Is there a way of making it
work on excel 2000? I have tried to do it in a macro but when i run it

the
password box comes up and I manually have to put the password in so this
doesnt work! any ideas?


You can protect and unprotect from VBA. Use something like

ActiveWorkbook.Unprotect Password:="Bagheera"
'Your code here
ActiveWorkbook.Protect Structu=True, Windows:=False, Password:="Bagheera"

/Fredrik


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 can I protect an excel worksheet containing filters? JMcG Excel Discussion (Misc queries) 4 April 13th 05 03:13 PM
Worksheet Protection Krista Excel Worksheet Functions 1 March 29th 05 08:54 PM
Prevent unhide of rows/columns w/out worksheet protection? annonymous Excel Discussion (Misc queries) 2 March 10th 05 07:23 PM
copyright and worksheet protection dow Excel Discussion (Misc queries) 2 January 3rd 05 03:07 PM
Seeking help for total worksheet protection Joseph Geretz Excel Discussion (Misc queries) 10 December 31st 04 06:48 PM


All times are GMT +1. The time now is 03:25 AM.

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

About Us

"It's about Microsoft Excel"