Reply
 
Thread Tools Display Modes
  #1   Report Post  
Posted to microsoft.public.word.pagelayout
dcurrier dcurrier is offline
external usenet poster
 
Posts: 1
Default 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   Report Post  
Posted to microsoft.public.word.pagelayout
Graham Mayor Graham Mayor is offline
external usenet poster
 
Posts: 19,312
Default 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.



Reply
Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Identify full path of file name in File Open list Eric Microsoft Word Help 0 February 8th 09 09:56 AM
Vista OS: how to see the path & filename of my current word docume jay Microsoft Word Help 2 August 8th 08 05:04 AM
File name or path not recognised by Word BazHobart Microsoft Word Help 2 April 3rd 06 03:26 PM
cannot open a word file. file name or path is invalid reghu Microsoft Word Help 2 February 24th 06 05:55 AM
How to remove a path to load a file I've moved under the File menu Donaldo New Users 15 August 25th 05 10:14 AM


All times are GMT +1. The time now is 11:22 PM.

Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Word"