Home |
Search |
Today's Posts |
#2
![]()
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
![]()
If you open a document directly from an e-mail message (which in any case is
bad practice) then if the filename field updates it will show the temporary file location. You have no control over the remote user's configuration. The answer is either to convert the field to text (CTRL+SHIFT+F9) or insert it as text in the first place using a macro e.g. 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 OR Sub InsertFilenameOnly() Dim fFname As String With ActiveDocument If Len(.Path) = 0 Then .Save End If fFname = .name 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 Pauline Longmuir wrote: I would like to email files with the Filename field but they show the temp file info instead of the saved file info. Is there a switch that can be used to ensure it shows the original file's info? |
Thread Tools | |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
~$filename showing in files | Microsoft Word Help | |||
Word 2000-why are temp files showing when I try to open new file? | Microsoft Word Help | |||
Erasing an extra printer page with info like filename etc. | Microsoft Word Help | |||
Temp files still showing in server folder?? | Microsoft Word Help | |||
How can I remove the .doc file extension in a FILENAME field? | Microsoft Word Help |