Re: Manipulate Title Bar

From: Jonathan West (jwest_at_mvps.org)
Date: 07/14/04


Date: Wed, 14 Jul 2004 10:05:20 +0100

Hi Chris,

You can set the default caption to whatever you want by setting the
Application.Caption property.

This article shows you how to get the current user name, so that you can set
the caption to what you want.:

How to get the username of the current user
http://word.mvps.org/FAQs/MacrosVBA/GetCurUserName.htm

To get the caption set automatically when you start Word, put the code into
a macro called AutoExec. This macro should in turn be placed in a separate
template and put into Word's startup folder. This article explains about
distributing macros in templates.

Distributing macros to other users
http://word.mvps.org/FAQs/MacrosVBA/DistributeMacros.htm

Beware that if yiou change the application caption in this way, so that
"Microsoft Word" is no longer part of the caption, it is possible that some
other applications which interact with Word will not work right, id they
rely on being able to recognise the caption. This isn't likely to be a
problem, but it isn't impossible that it could trip you up.

-- 
Regards
Jonathan West - Word MVP
www.intelligentdocuments.co.uk
Please reply to the newsgroup
"Chrischik" <Chrischik@discussions.microsoft.com> wrote in message
news:92001C49-6EEA-4A7C-8ECD-052B212B04FC@microsoft.com...
> Hi all,
> I would like my title bar in word to always pick up the login id of the
user.
> eg. if I log into my pc as Chris it will take as a default title "Chris".
> Thanks,
>
> Chris


Relevant Pages

  • Re: Manipulate Title Bar
    ... > You can set the default caption to whatever you want by setting the ... > template and put into Word's startup folder. ... > distributing macros in templates. ... > Jonathan West - Word MVP ...
    (microsoft.public.word.vba.general)
  • Re: Continuous breaks convert to next page breaks
    ... caption for the case into the template for that case. ... Here is some general info on moving from Word Perfect to Word: ... Conversion back to Word Perfect: There is a problem (in addition to the ones ...
    (microsoft.public.word.docmanagement)
  • Re: linking and sequential numbering of tables
    ... You can modify the Caption style; you can also create your own different ... Here is some general info on moving from Word Perfect to Word: ... To use a template within Word, use File => New and pick your template. ... Conversion back to Word Perfect: There is a problem (in addition to the ...
    (microsoft.public.word.tables)
  • Re: Continuous breaks convert to next page breaks
    ... always be at the top of the caption on the right side. ... Keep in mind that I'm trying to work out the best solution for a template ... Here is some general info on moving from Word Perfect to Word: ... >> I'm setting up a template pleading caption for our law firm. ...
    (microsoft.public.word.docmanagement)
  • Re: linking and sequential numbering of tables
    ... Do not change each caption directly. ... Here is some general info on moving from Word Perfect to Word: ... As for converting documents from Word Perfect to _use_ in Word... ... To use a template within Word, use File => New and pick your template. ...
    (microsoft.public.word.tables)