XL2000: Changing Protected Document's Properties with Visual Basic Macro (213394)



The information in this article applies to:

  • Microsoft Excel 2000

This article was previously published under Q213394

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 manually change the document's properties.

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.

NOTE: When you protect the structure of the workbook, the Properties command on the File menu is no longer available.

REFERENCES

For more information about the BuiltinDocumentProperties property, in the Visual Basic Editor, click Microsoft Visual Basic Help on the Help menu, type builtindocumentproperties property in the Office Assistant or the Answer Wizard, and then click Search to view the topic.

Modification Type:MajorLast Reviewed:9/27/2003
Keywords:kbdtacode kbpending kbprb kbProgramming KB213394