Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel,microsoft.public.excel.programming
|
|||
|
|||
![]()
I am trying to Sort on Protected Field and unprotected fields, I have a spreadsheet that I have protected from users, but there is a need for them to sort the data range. Because some of the fields are protected the user gets an error when the macro is run to sort.
Can anyone help |
#2
![]()
Posted to microsoft.public.excel,microsoft.public.excel.programming
|
|||
|
|||
![]()
ActiveSheet.Unprotect Password:="Monkey"
' code that sorts Activesheet.Protect Password:="Monkey" of couse you will need to protect your project for viewing so they can not discover your code. -- regards, Tom Ogilvy "PR" wrote in message ... I am trying to Sort on Protected Field and unprotected fields, I have a spreadsheet that I have protected from users, but there is a need for them to sort the data range. Because some of the fields are protected the user gets an error when the macro is run to sort. Can anyone help |
#3
![]()
Posted to microsoft.public.excel,microsoft.public.excel.programming
|
|||
|
|||
![]()
Which Excel version ?
In 2002-2003 this is a option when you protect your sheet In 97-2000 you can use a macro to unprotect/Sort/protect -- Regards Ron de Bruin http://www.rondebruin.nl "PR" wrote in message ... I am trying to Sort on Protected Field and unprotected fields, I have a spreadsheet that I have protected from users, but there is a need for them to sort the data range. Because some of the fields are protected the user gets an error when the macro is run to sort. Can anyone help |
#4
![]()
Posted to microsoft.public.excel,microsoft.public.excel.programming
|
|||
|
|||
![]()
version 2003, I have selected to allow sort, but this still does not work
"Ron de Bruin" wrote in message ... Which Excel version ? In 2002-2003 this is a option when you protect your sheet In 97-2000 you can use a macro to unprotect/Sort/protect -- Regards Ron de Bruin http://www.rondebruin.nl "PR" wrote in message ... I am trying to Sort on Protected Field and unprotected fields, I have a spreadsheet that I have protected from users, but there is a need for them to sort the data range. Because some of the fields are protected the user gets an error when the macro is run to sort. Can anyone help |
#5
![]()
Posted to microsoft.public.excel,microsoft.public.excel.programming
|
|||
|
|||
![]()
Yes, Sorry the cells that you want to sort can't be locked
The macro solution is the best thing for you -- Regards Ron de Bruin http://www.rondebruin.nl "PR" wrote in message ... version 2003, I have selected to allow sort, but this still does not work "Ron de Bruin" wrote in message ... Which Excel version ? In 2002-2003 this is a option when you protect your sheet In 97-2000 you can use a macro to unprotect/Sort/protect -- Regards Ron de Bruin http://www.rondebruin.nl "PR" wrote in message ... I am trying to Sort on Protected Field and unprotected fields, I have a spreadsheet that I have protected from users, but there is a need for them to sort the data range. Because some of the fields are protected the user gets an error when the macro is run to sort. Can anyone help |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Adding more sort fields to the SORT Dialog Box | Excel Discussion (Misc queries) | |||
How do I control fields tabbed to on protected sheet? | Excel Discussion (Misc queries) | |||
How do I Clear ALL unprotected data entry fields in a protected sh | Excel Programming | |||
Can I sort a list with more than three fields? | Excel Discussion (Misc queries) | |||
clearing unlocked fields on a protected sheet | Excel Programming |