How do I customise footer in Word 2003

  • Thread starter Thread starter Snuggles
  • Start date Start date
S

Snuggles

I want to customise my automatic footer.. ie. I dont need pathname completely
to show ... C:/documents/etc/etc/etc ... I only want the client name/matter
name/ document name to show ? Can I do this?
 
Hi Snuggles,

You can do this with a FILENAME field, which defaultss to showing just the filname (& extension) or, with the addition of the \p
switch, shows the path as well.

If your document is already showing the filename & path, then you probably have the variant with the \p switch. If you position the
cursor anywhere in the current field and press Shift-F9, the field code should display as {FILENAME \p}. If you delete the \p and
press F9, the path will be deleted from the display.
 
Hello Snuggles
I want to customise my automatic footer.. ie. I dont need pathname completely
to show ... C:/documents/etc/etc/etc ... I only want the client name/matter
name/ document name to show ? Can I do this?

you can put anything you want into your footer, any combination of
simple text, filed codes, etc. This is best done in the template you are
using to create your documents.

Any specific problems?

Greetings
Robert
 
You will need a macro to insert a partial path/filename.
It appears that your client name/etc is a sub folder of C:\My Documents. In
the following macro, enter as much of the true path as you wish to remove in
the sRemove= line, and the macro will type the rest of the path at the
cursor

Sub InsertPartfPath()
Dim pPathname As String
Dim sRemove as String
'*******************
sRemove = "C:\My Documents"
'*******************
With ActiveDocument
If Len(.Path) = 0 Then
.Save
End If
pPathname = .FullName
pPathname = Replace(pPathname, sRemove, "...")
End With
Selection.TypeText pPathname
End Sub

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


--
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor - Word MVP

My web site www.gmayor.com

<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top