A Microsoft Office (Excel, Word) forum. OfficeFrustration

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.

Go Back   Home » OfficeFrustration forum » Microsoft Word » Page Layout
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

how automatically print file address at bottom of document



 
 
Thread Tools Display Modes
  #1  
Old March 11th, 2009, 05:45 AM posted to microsoft.public.word.pagelayout
Brian new to MSWord 2007
external usenet poster
 
Posts: 1
Default how automatically print file address at bottom of document

I am new to Office 2007. I really need to organize my documents. I have seen
documents where the file address is printed at the bottom of the page. This
is what I want to know how to do.
Help!
  #2  
Old March 11th, 2009, 08:07 AM posted to microsoft.public.word.pagelayout
Graham Mayor
external usenet poster
 
Posts: 18,297
Default how automatically print file address at bottom of document

Having saved the file, insert a filename field in the footer.
or
You could use a macro attached to a button on the QAT (Quick Access Toolbar)
to insert the filename and path eg

Sub InsertFilenameFooter()
Dim sFileName As String
Dim oFooter As Range
With ActiveDocument
If Len(.Path) = 0 Then
.Save
End If
sFileName = .FullName
End With
Set oFooter =
ActiveDocument.Sections(1).Footers(wdHeaderFooterP rimary).Range
With oFooter
.Text = sFileName
.Paragraphs.Alignment = wdAlignParagraphRight
.Font.name = "Arial"
.Font.Size = 8
End With
End Sub

http://www.gmayor.com/installing_macro.htm

Note that this macro will replace the footer content

--

Graham Mayor - Word MVP

My web site www.gmayor.com
Word MVP web site http://word.mvps.org



Brian new to MSWord 2007 wrote:
I am new to Office 2007. I really need to organize my documents. I
have seen documents where the file address is printed at the bottom
of the page. This is what I want to know how to do.
Help!



 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 09:31 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.