Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Document properties of Excel and Word documents
Message
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00454732
Message ID:
00454752
Vues:
24
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform