Function reference
Return the value of a Standard or Custom property from an Office File.

If the property does not exist or the value is empty then the default value is returned.

GetOfficeFileProperty( ‘Filename’‘ , ‘Property’ , ‘Default’ )

Argument Description
Filename The full path and filename.
Property The name of the Property to return
Default The value returned if the Property does not exist.

Please note that the file can not be opened when this function is invoked.

Example 1 – Custom Property
Filename( ‘f:\myfiles\abc.docx’ , ‘My Custom Property’ , ‘Not found’ )
Filename( ‘f:\myfiles\abc.docx’ , ‘[Property:My Custom Property]’ , ‘Not found’ )

Example 2 Standard Property
Filename( ‘f:\myfiles\abc.docx’ , ‘Title’ , ‘Empty’ )
Filename( ‘f:\myfiles\abc.docx’ , ‘[Property:Title]’ , ‘Empty’ )

Standard Properties
Title
Author
Comments
Version
Subject
Company
Manager
LastSavedBy
WordCount
ParagraphCount
LineCount
SlideCount
DateCreated
DateLastPrinted
DateLastSaved
RevisionNumber
MultimediaClipCount

Need more help with this?
DON'T HESITATE TO CONTACT US HERE ..

Thanks for your feedback.