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

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.


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 the BuiltinDocumentProperties property, from the Visual Basic Editor, click the Office Assistant, type BuiltInDocumentProperties, click Search, and then click to view "BuiltinDocumentProperties Property."

NOTE: If the Assistant is hidden, click the Office Assistant button on the Standard toolbar. If the Assistant is not able to answer your query, click the article number below to view the article in the Microsoft Knowledge Base:

Q176476 OFF: Office Assistant Not Answering Visual Basic Questions

Additional query words: 8.00 97 dimmed grey gray greyed disabled out

Keywords : kbprg kbdta kbdtacode KbVBA
Version : WINDOWS:97; Win95:7.0
Platform : Win95 WINDOWS
Issue type : kbbug


Last Reviewed: December 2, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.