Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
![]()
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? |
#2
![]()
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
![]()
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. -- Cheers macropod [MVP - Microsoft Word] "Snuggles" wrote in message ... 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? |
#3
![]()
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
![]()
Hello Snuggles
Snuggles wrote: 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 -- /"\ ASCII Ribbon Campaign | MSFT | \ / | MVP | Scientific Reports X Against HTML | for | with Word? / \ in e-mail & news | Word | http://www.masteringword.eu/ |
#4
![]()
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
![]()
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 Word MVP web site http://word.mvps.org Snuggles wrote: 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? |
Reply |
Thread Tools | |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How to customise my word | Mailmerge | |||
customise my own toolbar and buttons in word 03 | Microsoft Word Help | |||
Office 2007 - Word Options Customise | Microsoft Word Help | |||
Customise bullets in Word 2007 | Microsoft Word Help | |||
How do I customise a smart tag in Word doc? | Microsoft Word Help |