ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Data Grouping when Worksheets Protected (https://www.excelbanter.com/excel-programming/293650-data-grouping-when-worksheets-protected.html)

Allison[_2_]

Data Grouping when Worksheets Protected
 
Is there any way that I can password protect a worksheet
yet still allow users to use the data grouping that I have
set up. My spreadsheets are set up to view monthly and
quarterly information for 3 years. When a user wants to
view only the quarterly information and the worksheet is
protected, the data grouping won't work. I also wanted
them for printing purposes so that the user had a choice
of printing all months or just quarterly views.

Thanks

Allison

Tom Ogilvy

Data Grouping when Worksheets Protected
 
in the this workbook module:

Private Sub Workbook_Open
With worksheets("Sheet1")
.Activate
.enableOutlining = True
.Protect Password:="ABCD", UserInterfaceOnly:=True
End with
End Sub

--
Regards,
Tom Ogilvy


"Allison" wrote in message
...
Is there any way that I can password protect a worksheet
yet still allow users to use the data grouping that I have
set up. My spreadsheets are set up to view monthly and
quarterly information for 3 years. When a user wants to
view only the quarterly information and the worksheet is
protected, the data grouping won't work. I also wanted
them for printing purposes so that the user had a choice
of printing all months or just quarterly views.

Thanks

Allison





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

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com