You can use the following line of code:
ActiveWindow.Caption = ActiveDocument.FullName
in an AutoOpen macro. See the "Auto... macros" section of the article at http://www.gmayor.com/installing_macro.htm.
__________________
Stefan Blom
Microsoft Word MVP
Microsoft 365 apps for business
Windows 11 Professional
|