LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 150
Default Problem with pivot table when workbook is protected

Hi,

One of the sheets of a workbook has a pivot table. All works fine till
the workbook is protected. When the workbook is protected and opened:
a message box appears with the following log:

Microsoft Office Excel File Repair Log
Errors were detected in file 'C:\rsp\excel\1testprotection cee.xls'
The following is a list of repairs:
PivotTable report 'PT2' on '[1testprotection cee.xls]Summary' was
discarded due to integrity problems.

The workbook.open event has the Workbook.unprotect code at the
beginning and workbook.protect code at the end. I did this as the
workbook.open event was failing at the following line:
Worksheets("Change log").Visible = False
(I wanted to hide this sheet on opening the workbook)

Thanks in advance for the help.

Regards,
Raj
 
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
Refreshing Pivot Table on a protected spreadsheet tab EarlyBirdie Excel Discussion (Misc queries) 1 July 5th 09 07:31 AM
create a pivot table from a protected workbook guz Excel Discussion (Misc queries) 0 October 30th 08 10:34 AM
Refresh pivot table on protected sheet richzip Excel Discussion (Misc queries) 3 January 18th 08 08:21 PM
Pivot Table based on data in protected cells pdberger Excel Programming 1 December 26th 07 10:38 PM
Pivot Table Use When Sheet is Protected ExcelMonkey Excel Discussion (Misc queries) 1 August 19th 05 12:10 AM


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

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"