Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
![]()
In a template macro that I have I would like to get the full path name of the
active document. I can get the document name and the template. Thanks, Bryan |
#2
![]()
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
![]()
Here's what I got via a friend of mine who referred me to puzzlenyc.org for
the answer: On the menu bar, select Insert Field... In the CATEGORIES list, select DOCUMENT INFORMATION Then, in the FIELD CODES list, select FILENAME and click the box next to ADD PATH TO FILENAME. Click OK, and end the macro. Then save your template. - Hope this works! |
#3
![]()
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
![]()
Hi Bryan,
MsgBox ActiveDocument.Path MsgBox ActiveDocument.Name MsgBox ActiveDocument.FullName -- Greetings from Bavaria, Germany Helmut Weber, MVP WordVBA Win XP, Office 2003 "red.sys" & Chr$(64) & "t-online.de" |
#4
![]()
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
![]()
much easier than thought.
In my macro I coded: """" Dim fFname As String With ActiveDocument fFname = .Path End With """"" Thanks, Bryan "Helmut Weber" wrote: Hi Bryan, MsgBox ActiveDocument.Path MsgBox ActiveDocument.Name MsgBox ActiveDocument.FullName -- Greetings from Bavaria, Germany Helmut Weber, MVP WordVBA Win XP, Office 2003 "red.sys" & Chr$(64) & "t-online.de" |
Reply |
Thread Tools | |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How to delete file path stored in open file? | Microsoft Word Help | |||
cannot open a word file. file name or path is invalid | Microsoft Word Help | |||
How to remove a path to load a file I've moved under the File menu | New Users | |||
How to diaply file path at the end of file | Microsoft Word Help | |||
file path | Microsoft Word Help |