Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hola,
I'm using Excel 2007. I have an Inserted Table (not a pivot table) on a worksheet and have autofilter on. I protected some formulas on the table and then protected the worksheet with the following command: ActiveSheet.Protect DrawingObjects:=False, contents:=True, Scenarios:= _ True, AllowFormattingCells:=True, AllowFormattingColumns:=True, _ AllowFormattingRows:=True, AllowSorting:=True, AllowFiltering:=True, _ AllowUsingPivotTables:=True, userInterfaceOnly:=True, Password:="password1" The problem is that everytime I need to sort a column I get the following message: "The cell or chart you are trying to change is protected and therefore read-only. Unprotect the worksheet by going to ........" As you can imaging, this is not acceptable, since the whole purpose is to protect the formulas being seen/changed by the user. Any suggestions? |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Unprotect the sheet, sort, then protect.
-- * Please click Yes if this was helpful * Andy Smith Senior Systems Analyst Standard & Poor''s, NYC "OMER" wrote: Hola, I'm using Excel 2007. I have an Inserted Table (not a pivot table) on a worksheet and have autofilter on. I protected some formulas on the table and then protected the worksheet with the following command: ActiveSheet.Protect DrawingObjects:=False, contents:=True, Scenarios:= _ True, AllowFormattingCells:=True, AllowFormattingColumns:=True, _ AllowFormattingRows:=True, AllowSorting:=True, AllowFiltering:=True, _ AllowUsingPivotTables:=True, userInterfaceOnly:=True, Password:="password1" The problem is that everytime I need to sort a column I get the following message: "The cell or chart you are trying to change is protected and therefore read-only. Unprotect the worksheet by going to ........" As you can imaging, this is not acceptable, since the whole purpose is to protect the formulas being seen/changed by the user. Any suggestions? |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How can I allow users to sort a protected table using dropdowns? | Excel Worksheet Functions | |||
Allowing users to use filters and sort on protected pivot table | Excel Discussion (Misc queries) | |||
Allowing users to use filters and sort on protected pivot table | Excel Discussion (Misc queries) | |||
Can I sort a table using a macro in a protected worksheet? | Excel Programming | |||
Unable to use controls when sheet is protected | Excel Programming |