XL: Can Change Protected Document's Properties with VB Macro

Last reviewed: February 27, 1998
Article ID: Q135504
The information in this article applies to:
  • Microsoft Excel for Windows 95, version 7.0
  • Microsoft Excel 97 for Windows

SYMPTOMS

In Microsoft Excel, you can change the document properties of a protected workbook through a Microsoft Visual Basic for Applications macro, even though you cannot change the document properties manually.

STATUS

Microsoft has confirmed this to be a problem in the Microsoft products listed at the beginning of this article. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.

MORE INFORMATION

To bring up the <document> Properties dialog box (where <document> is the name of your document), click Properties on the File menu. To protect your workbook, click Protection on the Tools menu, and then click Protect Workbook. When you protect the structure of the workbook, the Properties command on the File menu becomes unavailable.

REFERENCES

For more information about BuiltinDocumentProperties Property, click the Index tab in Microsoft Excel Help, type the following text

   BuiltInDocumentProperties

and then double-click the selected text to go to the "BuiltinDocumentProperties Property" topic.


Additional query words: 7.00 8.00 97 dimmed grey gray greyed disabled
out
Keywords : kbcode kbprg
Version : WINDOWS:7.0,97
Platform : WINDOWS
Issue type : kbbug
Solution Type : kbpending


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: February 27, 1998
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.