The Code Cage - Microsoft Office help Free Microsoft Office Help for all Applications!
Computer Support Service
Dish Network Satellite TV
repair credit      
 

To stop seeing these ads and get other benefits check This page!

Go Back   The Code Cage Forums > Resource Forums > Microsoft Office Topics Archive > Excel Archives

Custom Search
Translate this Page!
Chat In Use Now! Microsoft Office Chat Online now!


Excel Archives All Older Excel threads are saved here in one forum

Hey there!

It looks like you're enjoying but haven't created an account yet. Why not take a minute to register for your own free account now? As a member you get free access to all of our forums and posts plus the ability to post your own messages, communicate directly with other members and much more. Register now!

Already a member? Login at the top of this page to stop seeing this message.


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 11th June 2009, 05:43 PM
TheGerman
Newsgroup Contributor


My Top Tip Count:

 
Posts: n/a
Chats:
Default Protection and Auto filter


------ Register to get rid of these "In Post" ads! ------


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
'Original Source: The Code Cage Forums http://www.thecodecage.com/forumz/excel-archives/105734-protection-auto-filter.html#post377836
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
Reply With Quote


Did you find this post helpful? Yes | No
The Code Cage Advertisment
Advertisement

To stop seeing these ads and get other benefits check This page!
  #2 (permalink)  
Old 12th June 2009, 01:15 PM
TheGerman
Newsgroup Contributor


My Top Tip Count:

 
Posts: n/a
Chats:
Default RE: Protection and Auto filter

------ Register to get rid of these "In Post" ads! ------


anyone that can help?


> 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
'Original Source: The Code Cage Forums http://www.thecodecage.com/forumz/excel-archives/105734-protection-auto-filter.html#post378955
> 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

Reply With Quote


Did you find this post helpful? Yes | No
  #3 (permalink)  
Old 12th June 2009, 01:57 PM
eliano
Newsgroup Contributor


My Top Tip Count:

 
Posts: n/a
Chats:
Default Re: Protection and Auto filter

------ Register to get rid of these "In Post" ads! ------


On 12 Giu, 14:11, TheGerman <dschm...@memorialhealthcare.org> wrote:
> anyone that can help?
>
>
>
> > 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- Nascondi testo citato

>
> - Mostra testo citato -


Hi German.
If I well understood, try:
'Original Source: The Code Cage Forums http://www.thecodecage.com/forumz/excel-archives/105734-protection-auto-filter.html#post378997

Public Sub prova()
ActiveSheet.Unprotect
'your filter instruction or/and
'your sort instructions
ActiveSheet.Protect 'with your parameters
End Sub

Regards
Eliano
Reply With Quote


Did you find this post helpful? Yes | No
The Code Cage Advertisment
Advertisement

To stop seeing these ads and get other benefits check This page!
Reply

Bookmarks

Tags
auto, filter, protection


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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

Forum Jump

The Code Cage Affilliates


To stop seeing these ads and get other benefits check This page!



All times are GMT +1. The time now is 09:50 PM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.5.1 PL1
No part of this board may be copied or reproduced either in part or full without the express permission of The Code Cage Team.
We are not associated with nor employed by Microsoft in any way, we simply provide resources!
All MS office icons are registered trademarks of the application the represent