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
|
|||
|
|||
Word footers, insert filename and path
W2K, Word 2003. The Header and Footer dialog box (View/Header and Footer)
has a Customize button. I want to add a button that puts the filename and path of the document in the Footer, but I can't find anything in the Customize dialog that pertains to filename or path. Under what heading might it be hiding? Thanks. |
#2
|
|||
|
|||
Word footers, insert filename and path
I am not sure what you mean by a "Customize" button, there isn't/hasn't
been such a button on any of the Headers and Footers toolbars that I have seen in any version of Word for WIndows. There is however an Autotext pulldown on the Headers and Footers toolbar that contains a Filename and Path item that will do what you want. Alternatively, insert a { FILENAME \p } field either from the InsertField dialog or by use Ctrl+F9 to insert the field delimiters { } and type FILENAME \p inside them. Use Alt+F9 to toggle off the field codes. -- Please post any further questions or followup to the newsgroups for the benefit of others who may be interested. Unsolicited questions forwarded directly to me will only be answered on a paid consulting basis. Hope this helps Doug Robbins - Word MVP "nemo2" wrote in message ... W2K, Word 2003. The Header and Footer dialog box (View/Header and Footer) has a Customize button. I want to add a button that puts the filename and path of the document in the Footer, but I can't find anything in the Customize dialog that pertains to filename or path. Under what heading might it be hiding? Thanks. |
#3
|
|||
|
|||
Word footers, insert filename and path
G'Day Nemo,
Record a Macro to: InsertField "Filename" (select) "Add path to filename" (tick) It will look like: Sub AddFullFileName() Selection.Fields.Add Range:=Selection.Range, Type:=wdFieldEmpty, Text:= _ "FILENAME \p ", PreserveFormatting:=True End Sub Customise the H & F Toolbar by adding a button that executes this macro. It will be inserted in the Header or Footer that has focus. The macro can be enhanced to control justification etc to your taste. -- Regards, Pat Garard Australia ______________________________________ |
#4
|
|||
|
|||
Word footers, insert filename and path
Thanks a lot to both!
"Pat Garard" apgarardATbigpondPERIODnetPERIODau wrote in message ... G'Day Nemo, Record a Macro to: InsertField "Filename" (select) "Add path to filename" (tick) It will look like: Sub AddFullFileName() Selection.Fields.Add Range:=Selection.Range, Type:=wdFieldEmpty, Text:= _ "FILENAME \p ", PreserveFormatting:=True End Sub Customise the H & F Toolbar by adding a button that executes this macro. It will be inserted in the Header or Footer that has focus. The macro can be enhanced to control justification etc to your taste. -- Regards, Pat Garard Australia ______________________________________ |
#5
|
|||
|
|||
Word footers, insert filename and path
G'Day Doug,
Word Xp (2002): At the right hand end of the 'title bar' of the H & F toolbar there is a small 'down arrow': __________________________ :Footer____________________v |________________ |Add or Remove Buttons v | Header and Footer | ---------------------------| Customize ... | --------------------- - -- Regards, Pat Garard Australia ______________________________________ |
Thread Tools | |
Display Modes | |
|
|