RecentFile.Path property (Word)

Returns the disk or Web path to the specified object. Read-only String.



expression Required. A variable that represents a RecentFile object.


The path doesn't include a trailing character — for example, "C:\MSOffice" or "https://MyServer". Use the PathSeparator property to add the character that separates folders and drive letters. Use the Name property to return the file name without the path.

See also

RecentFile Object

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.