View Single Post
 
Old 04-12-2017, 03:41 AM
gmayor's Avatar
gmayor gmayor is offline Windows 10 Office 2016
Expert
 
Join Date: Aug 2014
Posts: 4,137
gmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud of
Default

If it is a document that has never been saved it doesn't have a path.

If it was opened from a location on the hard drive, that location is the path. It can be easily shown with a single line of macro code

Code:
Sub GetPath()
    MsgBox ActiveDocument.Path
End Sub
What EXACTLY is it that you are trying to do?
__________________
Graham Mayor - MS MVP (Word) (2002-2019)
Visit my web site for more programming tips and ready made processes www.gmayor.com
Reply With Quote