Re: Manipulate Title Bar
From: Chrischik (Chrischik_at_discussions.microsoft.com)
Date: 07/14/04
- Next message: funnybroad: "Convert 200-page word doc to 200 separate docs"
- Previous message: Jonathan West: "Re: Manipulate Title Bar"
- In reply to: Jonathan West: "Re: Manipulate Title Bar"
- Messages sorted by: [ date ] [ thread ]
Date: Wed, 14 Jul 2004 02:23:02 -0700
Thanks Jonathan,
I'm just getting started with VBA - I really appreciate the support I've had so far.
"Jonathan West" wrote:
> 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
>
>
- Next message: funnybroad: "Convert 200-page word doc to 200 separate docs"
- Previous message: Jonathan West: "Re: Manipulate Title Bar"
- In reply to: Jonathan West: "Re: Manipulate Title Bar"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|