Changing the title bar display in Word

K

Kevin Wydra

I have a VB app that uses OLE automation to start up word and retrieve a specified document. The problem is that the names of the documents that are being retrieved have no relation to the document content whatsoever (i.e 3233B.32, 32AAB.55). In the Word Title bar the name of the document is displayed which means nothing to the end user. Is there any way using automation to change the displayed title? If so, I have a description of the document (i.e RE: Letter to opposing Councel) that I could use instead. If the end user has multiple documents open this would allow them to move between the open documents in a much more precise manner because the title will tell them what each document contains

The current Vb code works with Word 97 - Word200

Thanks in advance!
 
J

Jonathan West

Hi kevin,

You can set the Caption property of the ActiveWindow object to any text you
want.

--
Regards
Jonathan West - Word MVP
http://www.multilinker.com
Please reply to the newsgroup

Kevin Wydra said:
I have a VB app that uses OLE automation to start up word and retrieve a
specified document. The problem is that the names of the documents that are
being retrieved have no relation to the document content whatsoever (i.e
3233B.32, 32AAB.55). In the Word Title bar the name of the document is
displayed which means nothing to the end user. Is there any way using
automation to change the displayed title? If so, I have a description of
the document (i.e RE: Letter to opposing Councel) that I could use instead.
If the end user has multiple documents open this would allow them to move
between the open documents in a much more precise manner because the title
will tell them what each document contains.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top