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 » New Users
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Word footers, insert filename and path



 
 
Thread Tools Display Modes
  #1  
Old April 25th, 2004, 11:39 PM
nemo2
external usenet poster
 
Posts: n/a
Default 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  
Old April 26th, 2004, 12:02 AM
Doug Robbins - Word MVP
external usenet poster
 
Posts: n/a
Default 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  
Old April 26th, 2004, 12:18 AM
Pat Garard
external usenet poster
 
Posts: n/a
Default 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  
Old April 26th, 2004, 08:17 PM
nemo2
external usenet poster
 
Posts: n/a
Default 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  
Old April 26th, 2004, 11:50 PM
Pat Garard
external usenet poster
 
Posts: n/a
Default 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

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 12:25 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.