I want to put the path and document name in Word 2003 in the title bar,
and found the following posting from a couple of years back. However,
it is a bit too cryptic for me, since i don't use VBA at all. Can
someone please take the info below and tell me step by step how i would
do this? I would like to set up a macro to do this automatically, so
if that could be explained, that would be great. Many thanks

"Switch to VBA and in the immediate window type:

windows(activedocument.Name).Caption = activedocument.FullName

You could set up a macro to do this automatically, but I suggest you
try it
manually for a while. On most machines these days, the full path is so
long
that the result will be ugly."

Re: Document name in titlebar, step by step by Jezebel

Jezebel
Wed Nov 29 02:16:24 CST 2006

Step 1. Put that line of code into a macro.

Step 2. Run the macro.

You've got two problems: 1) as suggested in the original post, the path may
be longer than than your Window is wide. 2) You need to re-run the macro
every time you change documents. It's possible to set up your macro to do
this automatically, but if you "don't use VBA at all", writing code to trap
Word events is likely to be beyond you. It's not that it's all that hard;
but explaining it "step by step" would take quite a lot of writing.




<billgillies@gmail.com> wrote in message
news:1164773676.694614.104670@16g2000cwy.googlegroups.com...
>I want to put the path and document name in Word 2003 in the title bar,
> and found the following posting from a couple of years back. However,
> it is a bit too cryptic for me, since i don't use VBA at all. Can
> someone please take the info below and tell me step by step how i would
> do this? I would like to set up a macro to do this automatically, so
> if that could be explained, that would be great. Many thanks
>
> "Switch to VBA and in the immediate window type:
>
> windows(activedocument.Name).Caption = activedocument.FullName
>
> You could set up a macro to do this automatically, but I suggest you
> try it
> manually for a while. On most machines these days, the full path is so
> long
> that the result will be ugly."
>



Re: Document name in titlebar, step by step by Graham

Graham
Wed Nov 29 03:01:45 CST 2006

See http://www.gmayor.com/installing_macro.htm

--
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor - Word MVP

My web site www.gmayor.com
Word MVP web site http://word.mvps.org
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>

billgillies@gmail.com wrote:
> I want to put the path and document name in Word 2003 in the title
> bar, and found the following posting from a couple of years back.
> However, it is a bit too cryptic for me, since i don't use VBA at
> all. Can someone please take the info below and tell me step by step
> how i would do this? I would like to set up a macro to do this
> automatically, so if that could be explained, that would be great.
> Many thanks
>
> "Switch to VBA and in the immediate window type:
>
> windows(activedocument.Name).Caption = activedocument.FullName
>
> You could set up a macro to do this automatically, but I suggest you
> try it
> manually for a while. On most machines these days, the full path is so
> long
> that the result will be ugly."



Re: Document name in titlebar, step by step by bgillies

bgillies
Wed Nov 29 10:45:42 CST 2006


Jezebel wrote:
> Step 1. Put that line of code into a macro.
>
> Step 2. Run the macro.
>
> You've got two problems: 1) as suggested in the original post, the path may
> be longer than than your Window is wide. 2) You need to re-run the macro
> every time you change documents. It's possible to set up your macro to do
> this automatically, but if you "don't use VBA at all", writing code to trap
> Word events is likely to be beyond you. It's not that it's all that hard;
> but explaining it "step by step" would take quite a lot of writing.
>

Hi Jezebel.

Many thanks for your response. I have a wide monitor, so i don't
believe the full path will be a problem. Having said that, is it
possible to change the font in the titlebar (and only the titlebar), to
something such as Arial Narrow?


Re: Document name in titlebar, step by step by Jezebel

Jezebel
Wed Nov 29 14:24:12 CST 2006


"bgillies" <billgillies@gmail.com> wrote in message
news:1164818742.052939.188880@j72g2000cwa.googlegroups.com...
>
> Jezebel wrote:
>> Step 1. Put that line of code into a macro.
>>
>> Step 2. Run the macro.
>>
>> You've got two problems: 1) as suggested in the original post, the path
>> may
>> be longer than than your Window is wide. 2) You need to re-run the macro
>> every time you change documents. It's possible to set up your macro to do
>> this automatically, but if you "don't use VBA at all", writing code to
>> trap
>> Word events is likely to be beyond you. It's not that it's all that hard;
>> but explaining it "step by step" would take quite a lot of writing.
>>
>
> Hi Jezebel.
>
> Many thanks for your response. I have a wide monitor, so i don't
> believe the full path will be a problem. Having said that, is it
> possible to change the font in the titlebar (and only the titlebar), to
> something such as Arial Narrow?
>

Right-click on the Windows desktop, select properties. On the Appearance
tab, click Advanced.