Reply
 
Thread Tools Display Modes
  #1   Report Post  
Posted to microsoft.public.word.docmanagement
Deb C Deb C is offline
external usenet poster
 
Posts: 1
Default how do I insert the filepath (name) in Word 2007

Some of us in our office just upgraded to Word 2007. I cannot find how to
insert the filepath name of my document into my document. I used to have a
macro that did it and our IT guy could not copy that macro into my new Word.
I cannot find the filepath even!!! Help!
  #2   Report Post  
Posted to microsoft.public.word.docmanagement
KePaHa KePaHa is offline
external usenet poster
 
Posts: 16
Default how do I insert the filepath (name) in Word 2007

On the Insert tab, find QuickParts. Beneath that, choose Field. Select
FileName, and you can also use the /p switch after to have the full path to
the doc.

"Deb C" wrote:

Some of us in our office just upgraded to Word 2007. I cannot find how to
insert the filepath name of my document into my document. I used to have a
macro that did it and our IT guy could not copy that macro into my new Word.
I cannot find the filepath even!!! Help!

  #3   Report Post  
Posted to microsoft.public.word.docmanagement
Graham Mayor Graham Mayor is offline
external usenet poster
 
Posts: 19,312
Default how do I insert the filepath (name) in Word 2007

How much are they paying this IT guy?

The macro you had before would almost certainly have worked with Word 2007.
The following will put the filename and path at the cursor

Sub InsertFileNameAndPath()
Dim fFname As String
With ActiveDocument
If Len(.Path) = 0 Then
.Save
End If
fFname = .FullName
End With
Selection.TypeText fFname
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



Deb C wrote:
Some of us in our office just upgraded to Word 2007. I cannot find
how to insert the filepath name of my document into my document. I
used to have a macro that did it and our IT guy could not copy that
macro into my new Word. I cannot find the filepath even!!! Help!



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
How do I insert a filepath in a footer in Word 2007? Kerri Microsoft Word Help 2 June 5th 08 04:38 AM
In office 2007 how do you insert filepath into footer? R. Michael buehler Microsoft Word Help 1 July 10th 07 12:24 AM
insert filepath/name of document into the header Office 2007 Kandi Microsoft Word Help 3 February 24th 07 01:06 AM
filepath word 2007 easternhammer Microsoft Word Help 3 December 4th 06 12:07 PM
How do I display the full filepath on insert hyperlink in Word 200 Frustrated from London Microsoft Word Help 5 March 7th 06 10:10 PM


All times are GMT +1. The time now is 01:58 AM.

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

About Us

"It's about Microsoft Word"