Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 113
Default Sorting tables on protected worksheets

How do we configure our worksheet so that we can turn protection ON, but
still enable the table filter buttons in order to sort columns in a table?

No matter what settings we select for protection, including the sort and
auto-filter options, we cannot sort tables on a protected sheet. What is
the secret to allowing table sorts on a protected sheet?

  #2   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 22,906
Default Sorting tables on protected worksheets

Generally one has code to unprotect, code to do the sort, then re-protect.

By "tables" do you a real Table created by InsertTable?

I can provide code that turns off protection when you click inside a Table.

Click outside the Table and protection goes back on.

Is this something you could work with?


Gord Dibben MS Excel MVP

On Sat, 10 Apr 2010 14:22:00 -0600, "Blue Max" wrote:

How do we configure our worksheet so that we can turn protection ON, but
still enable the table filter buttons in order to sort columns in a table?

No matter what settings we select for protection, including the sort and
auto-filter options, we cannot sort tables on a protected sheet. What is
the secret to allowing table sorts on a protected sheet?


  #3   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 2,203
Default Sorting tables on protected worksheets

If Gord's suggestion and offer of assistance isn't what you need, then things
get a little flakey for you: In order to sort on a protected sheet, all of
the cells that may potentially be involved in the sort must be unlocked.
Quite often this defeats at least part of the purpose of protecting the sheet
in the first place. As Gord said, the typical way to handle this enigma is
via VBA code that unprotects the sheet, does the sort and then puts the sheet
back into protected mode.

"Blue Max" wrote:

How do we configure our worksheet so that we can turn protection ON, but
still enable the table filter buttons in order to sort columns in a table?

No matter what settings we select for protection, including the sort and
auto-filter options, we cannot sort tables on a protected sheet. What is
the secret to allowing table sorts on a protected sheet?

.

  #4   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 464
Default Sorting tables on protected worksheets

Record a macro for your sort, then see this page;
http://www.ozgrid.com/VBA/excel-macr...cted-sheet.htm

The UserInterfaceOnly is my preference in case the Macro bugs out leaving
your Worksheet unprotected.




--
Regards
Dave Hawley
www.ozgrid.com
"Blue Max" wrote in message
...
How do we configure our worksheet so that we can turn protection ON, but
still enable the table filter buttons in order to sort columns in a table?

No matter what settings we select for protection, including the sort and
auto-filter options, we cannot sort tables on a protected sheet. What is
the secret to allowing table sorts on a protected sheet?


  #5   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 113
Default Sorting tables on protected worksheets

Thank you, Dave, some interesting features. I appreciate your reply and
will take a look at this option.

Thanks,

Richard

*****************
"ozgrid.com" wrote in message
...
Record a macro for your sort, then see this page;
http://www.ozgrid.com/VBA/excel-macr...cted-sheet.htm

The UserInterfaceOnly is my preference in case the Macro bugs out leaving
your Worksheet unprotected.




--
Regards
Dave Hawley
www.ozgrid.com
"Blue Max" wrote in message
...
How do we configure our worksheet so that we can turn protection ON, but
still enable the table filter buttons in order to sort columns in a
table?

No matter what settings we select for protection, including the sort and
auto-filter options, we cannot sort tables on a protected sheet. What is
the secret to allowing table sorts on a protected sheet?



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
Sorting in a protected sheet Topgun505 Excel Discussion (Misc queries) 1 February 5th 10 05:56 PM
Groups and Protected Worksheets - know if protected mjones Excel Discussion (Misc queries) 8 April 25th 08 07:43 PM
Sorting protected worksheets Lawman Excel Discussion (Misc queries) 0 August 4th 06 03:33 PM
Sorting protected worksheet Phyllis Excel Discussion (Misc queries) 3 December 15th 04 11:27 PM
Sorting protected worksheets Drr Excel Discussion (Misc queries) 1 December 3rd 04 08:13 AM


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

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"