#1   Report Post  
Posted to microsoft.public.word.docmanagement
JT[_2_] JT[_2_] is offline
external usenet poster
 
Posts: 4
Default File paths button

We have a customer that used to use Office 2003 and had a simple way of
inserting the file path in the document footer. (we created a button that was
one of the menu items)
After the upgrade them to Office 2007, there are many more steps to getting
the same information, and we don't seem to be ablet to create the same button.
How can we add a button to his Office 2007 toolbar that will insert the file
path? (The closest thing I found was creating a customer footer with this,
but it overwrites existing footers with other information in them, so this is
not an option.)

Thanks!

Juan

  #2   Report Post  
Posted to microsoft.public.word.docmanagement
Graham Mayor Graham Mayor is offline
external usenet poster
 
Posts: 19,312
Default File paths button

You can insert a filename field in the footer (but which footer?)
or
You could use a macro to insert the filename and path at the end of the
document e.g.

Sub InsertFileNameAtEnd()
With ActiveDocument
If Len(.Path) = 0 Then .Save
If InStr(1, .Range.Paragraphs.Last.Range.Text, _
".doc") = False Then
.Range.InsertAfter vbCr & .FullName
With .Range.Paragraphs.Last.Range
.Paragraphs.Alignment = _
wdAlignParagraphRight
.Font.name = "Arial"
.Font.Size = 8
End With
Else
.Range.Paragraphs.Last.Range.Text = _
.FullName
End If
End With
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


"JT" wrote in message
...
We have a customer that used to use Office 2003 and had a simple way of
inserting the file path in the document footer. (we created a button that
was
one of the menu items)
After the upgrade them to Office 2007, there are many more steps to
getting
the same information, and we don't seem to be ablet to create the same
button.
How can we add a button to his Office 2007 toolbar that will insert the
file
path? (The closest thing I found was creating a customer footer with this,
but it overwrites existing footers with other information in them, so this
is
not an option.)

Thanks!

Juan



  #3   Report Post  
Posted to microsoft.public.word.docmanagement
Graham Mayor Graham Mayor is offline
external usenet poster
 
Posts: 19,312
Default File paths button

You can insert a filename field in the footer (but which footer?)
or
You could use a macro to insert the filename and path at the end of the
document e.g.

Sub InsertFileNameAtEnd()
With ActiveDocument
If Len(.Path) = 0 Then .Save
If InStr(1, .Range.Paragraphs.Last.Range.Text, _
".doc") = False Then
.Range.InsertAfter vbCr & .FullName
With .Range.Paragraphs.Last.Range
.Paragraphs.Alignment = _
wdAlignParagraphRight
.Font.name = "Arial"
.Font.Size = 8
End With
Else
.Range.Paragraphs.Last.Range.Text = _
.FullName
End If
End With
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


"JT" wrote in message
...
We have a customer that used to use Office 2003 and had a simple way of
inserting the file path in the document footer. (we created a button that
was
one of the menu items)
After the upgrade them to Office 2007, there are many more steps to
getting
the same information, and we don't seem to be ablet to create the same
button.
How can we add a button to his Office 2007 toolbar that will insert the
file
path? (The closest thing I found was creating a customer footer with this,
but it overwrites existing footers with other information in them, so this
is
not an option.)

Thanks!

Juan



  #4   Report Post  
Posted to microsoft.public.word.docmanagement
JT[_2_] JT[_2_] is offline
external usenet poster
 
Posts: 4
Default File paths button

Hi Graham,

Thanks for the quick response.
I found another solution using Quickparts and placing it in the Quick Access
Toolbar.

I will weigh the advantages of each and decide.

Thanks for your help.

Juan



"Graham Mayor" wrote:

You can insert a filename field in the footer (but which footer?)
or
You could use a macro to insert the filename and path at the end of the
document e.g.

Sub InsertFileNameAtEnd()
With ActiveDocument
If Len(.Path) = 0 Then .Save
If InStr(1, .Range.Paragraphs.Last.Range.Text, _
".doc") = False Then
.Range.InsertAfter vbCr & .FullName
With .Range.Paragraphs.Last.Range
.Paragraphs.Alignment = _
wdAlignParagraphRight
.Font.name = "Arial"
.Font.Size = 8
End With
Else
.Range.Paragraphs.Last.Range.Text = _
.FullName
End If
End With
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


"JT" wrote in message
...
We have a customer that used to use Office 2003 and had a simple way of
inserting the file path in the document footer. (we created a button that
was
one of the menu items)
After the upgrade them to Office 2007, there are many more steps to
getting
the same information, and we don't seem to be ablet to create the same
button.
How can we add a button to his Office 2007 toolbar that will insert the
file
path? (The closest thing I found was creating a customer footer with this,
but it overwrites existing footers with other information in them, so this
is
not an option.)

Thanks!

Juan



.

  #5   Report Post  
Posted to microsoft.public.word.docmanagement
JT[_2_] JT[_2_] is offline
external usenet poster
 
Posts: 4
Default File paths button

Hi Graham,

Thanks for the quick response.
I found another solution using Quickparts and placing it in the Quick Access
Toolbar.

I will weigh the advantages of each and decide.

Thanks for your help.

Juan



"Graham Mayor" wrote:

You can insert a filename field in the footer (but which footer?)
or
You could use a macro to insert the filename and path at the end of the
document e.g.

Sub InsertFileNameAtEnd()
With ActiveDocument
If Len(.Path) = 0 Then .Save
If InStr(1, .Range.Paragraphs.Last.Range.Text, _
".doc") = False Then
.Range.InsertAfter vbCr & .FullName
With .Range.Paragraphs.Last.Range
.Paragraphs.Alignment = _
wdAlignParagraphRight
.Font.name = "Arial"
.Font.Size = 8
End With
Else
.Range.Paragraphs.Last.Range.Text = _
.FullName
End If
End With
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


"JT" wrote in message
...
We have a customer that used to use Office 2003 and had a simple way of
inserting the file path in the document footer. (we created a button that
was
one of the menu items)
After the upgrade them to Office 2007, there are many more steps to
getting
the same information, and we don't seem to be ablet to create the same
button.
How can we add a button to his Office 2007 toolbar that will insert the
file
path? (The closest thing I found was creating a customer footer with this,
but it overwrites existing footers with other information in them, so this
is
not an option.)

Thanks!

Juan



.

Reply
Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Word 2007: Footers - File Paths ocean mist[_2_] Microsoft Word Help 2 December 12th 09 06:22 AM
file paths in footer ? perfectionpete Microsoft Word Help 1 July 3rd 06 02:51 PM
field codes in file paths twill Microsoft Word Help 2 September 1st 05 04:55 PM
hyperlink file paths Mnordby Microsoft Word Help 1 January 3rd 05 10:27 PM
File paths for Word and Exel rachel Microsoft Word Help 1 November 30th 04 02:57 PM


All times are GMT +1. The time now is 03:20 PM.

Copyright ©2000 - 2023, Jelsoft Enterprises Ltd.
Copyright 2004-2023 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Word"