![]() How to use a single VBA procedure to read or write both custom and built-in Document Properties Works with available properties of Word, Excel & PowerPoint files. ListProps then uses dsofile to open each file in turn, get the properties, and puts the list into a table. In the dialog that appears, select the properties you want to include in your list, select the folder you want to have listed, and select the template you want to use as the document type for the list. ![]() A new entry will appear in the Tools menu. This includes a template called ListProps.dot that will use dsofile to list all the Office documents in a folder, including whichever of the built-in document properties you want to have.ĭownload and register dsofile.dll using regsvr32.Ĭopy the ListProps template into your Word startup folder. Microsoft makes an ActiveX DLL available called dsofile.dll, which allows you to read & write the document properties of an Office file without opening the file in a document editing window. Document Built-in Properties objDocument.BuiltinDocumentProperties( wdBuiltInProperty.wdPropertyTimeLastPrintedĭocument Custom Properties objDocument.CustomDocumentPropertiesĭSOFile.dll - Accessing Document Properties without opening the files
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |