![]() |
|
#1
|
||||
|
||||
![]()
You might try opening a document. You could also add:
On Error Resume Next as the macro's first executable line.
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
#2
|
|||
|
|||
![]()
Thanks Paul. Inserting "On Error Resume Next" on the first line solved the problem :-)
|
#3
|
|||
|
|||
![]() Quote:
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 ------------- |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Create Hyperlinks from Word to specific location in PDF | sukanyae | Word | 0 | 02-25-2010 04:08 PM |
Show Full File Path in Title Bar | paulj | Excel | 3 | 02-10-2010 07:18 AM |
![]() |
vijayaram | Word | 1 | 12-30-2009 08:25 AM |
Programmatically get File Path for currently opened WORD document | franferns | Word | 1 | 11-26-2009 12:36 PM |
attaching (relative,logical or virtual) path to template word document | wissam | Mail Merge | 0 | 08-04-2009 05:09 AM |