In a similar vein, you can add the path to the Word title bar with macros as
follows and add the last of the macros to a toolbar button or keyboard
shortcut to copy the filename and path to the clipboard and thereby save
valuable space on the QAT (Quick Access Toolbar) -
http://www.gmayor.com/installing_macro.htm The first three macros
Sub FileSaveAs()
On Error Resume Next
Dialogs(wdDialogFileSaveAs).Show
ActiveWindow.Caption = ActiveDocument.FullName
End Sub
Sub FileSave()
On Error Resume Next
ActiveDocument.Save
ActiveWindow.Caption = ActiveDocument.FullName
End Sub
and
Sub AutoOpen()
ActiveWindow.Caption = ActiveDocument.FullName
With ActiveWindow.View
.Type = wdPrintView
.TableGridlines = True
End With
ActiveWindow.ActivePane.View.ShowAll = False
End Sub
You can copy the filename and path to the clipboard with another macro
Sub CopyFilenameAndPath()
Dim dFname As DataObject
Dim fFname As String
Set dFname = New DataObject
On Error Resume Next
With ActiveDocument
If Len(.Path) = 0 Then .Save
fFname = .FullName
End With
dFname.SetText fFname
dFname.PutInClipboard
End Sub
--
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor - Word MVP
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>