Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Document properties of Excel and Word documents
Message
 
 
To
18/12/2000 12:58:00
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00454732
Message ID:
00454752
Views:
22
>Thanks for the hint, but I've already looked there. There is nothing that looks like File properties, nor can I find the names of those properties by their name. Any other idea?

Check out the BuiltinDocumentProperties collection for your workbook and documents. Example:

Excel
ActiveWorkbook.BuiltinDocumentProperties("Author").Value = "My Name Here"

Word
ActiveDocument.BuiltinDocumentProperties("Author").Value = "My Name Here"

It is relatively obscure in the VBA help. Maybe Della and Tamar covered it better in their book.
Larry Miller
MCSD
LWMiller3@verizon.net

Accumulate learning by study, understand what you learn by questioning. -- Mingjiao
Previous
Reply
Map
View

Click here to load this message in the networking platform