Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Programming / March 2004

Tip: Looking for answers? Try searching our database.

Automatically changing the window caption when a document opens

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Jack - 31 Mar 2004 00:53 GMT
I save files with names that are no helpful to the user so I want to make
the window caption different to the file name. That's no problem if they
open the document using my program because I can then update the
activewindows caption. My problem is if they open the document from windows
explorer. Is there a way I could write a auto open macro with VBA into the
document as part of my save routine to set the window caption to one the
title in the built in properties?
Doug Robbins - Word MVP - 31 Mar 2004 10:33 GMT
If you have a macro named autoopen in the template from which the documents
were created (and that template is available to Word on the users' machines,
then that macro will fire when a document is opened by double clicking on it
in Windows Explorer.

Signature

Please post any further questions or followup to the newsgroups for the
benefit of others who may be interested.  Unsolicited questions forwarded
directly to me will only be answered on a paid consulting basis.

Hope this helps
Doug Robbins - Word MVP

>I save files with names that are no helpful to the user so I want to make
> the window caption different to the file name. That's no problem if they
[quoted text clipped - 4 lines]
> document as part of my save routine to set the window caption to one the
> title in the built in properties?
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.