#1   Report Post  
mac
 
Posts: n/a
Default Protection

Hello,
I was wondering if there is a way to protect a sheet, but be able to sort
the data? Does anyone know a way around this. Any help is appreciated.
--
thank you mac
  #2   Report Post  
William
 
Posts: n/a
Default

Hi mac

To use code...
ActiveSheet.Protect DrawingObjects:=True, Contents:=True, Scenarios:=True,
AllowSorting:=True

To protect manually...
"ToolsProtectionProtect Sheet" and select "Sort"and any other options you
want from the dialog box..

But what version of XL are you using?
--

XL2003
Regards

William



"mac" wrote in message
...
Hello,
I was wondering if there is a way to protect a sheet, but be able to sort
the data? Does anyone know a way around this. Any help is appreciated.
--
thank you mac



  #3   Report Post  
mac
 
Posts: n/a
Default

Hi William,
I tried to manually protect and it does not seem to work. I am not sure how
to write the code. I am using excel 2003

"William" wrote:

Hi mac

To use code...
ActiveSheet.Protect DrawingObjects:=True, Contents:=True, Scenarios:=True,
AllowSorting:=True

To protect manually...
"ToolsProtectionProtect Sheet" and select "Sort"and any other options you
want from the dialog box..

But what version of XL are you using?
--

XL2003
Regards

William



"mac" wrote in message
...
Hello,
I was wondering if there is a way to protect a sheet, but be able to sort
the data? Does anyone know a way around this. Any help is appreciated.
--
thank you mac




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
Data validation, cell protection or other method? KG Excel Discussion (Misc queries) 5 June 17th 05 05:22 AM
Three levels of protection in one worksheet Erik Jahre Excel Worksheet Functions 1 April 19th 05 11:27 PM
cell protection D Excel Discussion (Misc queries) 2 March 29th 05 10:58 AM
workbook protection John New Users to Excel 1 January 22nd 05 12:55 PM
protection on excel forms cben Excel Worksheet Functions 1 December 14th 04 02:23 PM


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