If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
File path in Vista Word
I want to include the file path in a footer in Vista Word - but cannot find
it. Was able to do it in Excel - but not Word. |
#2
|
|||
|
|||
File path in Vista Word
There is no such thing as Vista Word! Vista is an operating system that will
run any Word version. Assuming you mean Word 2007, insert a filename field in the footer. Insert Document Parts Field Filename or Save the inserted field as an autotext entry or Use a macro to insert the filename Sub InsertFilenameInFooter() Dim sFileName As String With ActiveDocument If Len(.Path) = 0 Then .Save End If sFileName = .FullName End With Selection.EndKey Unit:=wdStory ActiveWindow.ActivePane.View.SeekView = _ wdSeekCurrentPageFooter With Selection .ParagraphFormat.Alignment = _ wdAlignParagraphRight .TypeText Text:=sFileName .EndKey Unit:=wdStory End With With ActiveWindow.ActivePane.View .SeekView = wdSeekMainDocument End With End Sub http://www.gmayor.com/installing_macro.htm -- Graham Mayor - Word MVP My web site www.gmayor.com Word MVP web site http://word.mvps.org dcurrier wrote: I want to include the file path in a footer in Vista Word - but cannot find it. Was able to do it in Excel - but not Word. |
Thread Tools | |
Display Modes | |
|
|