
09-06-2017, 12:18 PM
|
Expert
|
|
Join Date: Nov 2010
Posts: 615
|
|
Quote:
Originally Posted by rekeene
Thanks Paul. Inserting "On Error Resume Next" on the first line solved the problem :-)
|
I tried the same code below in my Word 2016 and it works fine with no issues.
------
Sub AutoOpen()
'Displays the Document Path in the Title Bar
ActiveWindow.Caption = ActiveDocument.FullName
End Sub
-------------
|