Word taskbar icon shows full path rather than just filename

O

Opinicus

Using Word 2002 under WinXP, all updates etc in place.

Suddenly the Word taskbar icon has taken to showing the full
path to files:

C:\Documents and Settings\My Name\My Documents\filename

Rather than the way it used to:

Microsoft Word - filename

This makes it very difficult to choose among icons when I
have more than one document open as the file's name is at
the end of the lengthy path. I just checked and Excel still
shows "Microsoft Excel - filename" the way it should. Have I
inadvertently changed something in Word? If so, how do I put
it back the way it was?
 
O

Opinicus

Beth Melton said:
Did you add some macro to show the path in the title bar
in Word? If that's the case then that's the cause. :)

No, but I did add two other macros to do something else (see
below) and they apparently had the side effect of showing
the path in the title bar. Removing them cleared up the
problem.

Weird...

<quote>
Sub AutoNew()
'
' AutoNew Macro
'
With ActiveWindow.View
.Type = wdPrintView
ActiveWindow.View.Zoom.PageFit = wdPageFitBestFit
End With
End Sub

Sub AutoOpen()
'
' AutoOpen Macro
'
ActiveWindow.Caption = ActiveDocument.FullName
With ActiveWindow.View
.Type = wdPrintView
ActiveWindow.View.Zoom.PageFit = wdPageFitBestFit
End With
End Sub
</quote>
 
B

Beth Melton

Opinicus said:
No, but I did add two other macros to do something else (see below)
and they apparently had the side effect of showing the path in the
title bar. Removing them cleared up the problem.

Weird...
' AutoOpen Macro
'
ActiveWindow.Caption = ActiveDocument.FullName

In your AutoOpen macro the line above is responsible.

It looks like you are just trying to force the documents view? If
that's
the case then just remove the line which sets the caption on your
title bar to the full path of the document.

Please post all follow-up questions to the newsgroup. Requests for
assistance by email can not be acknowledged.

~~~~~~~~~~~~~~~
Beth Melton
Microsoft Office MVP

Word FAQ: http://mvps.org/word
TechTrax eZine: http://mousetrax.com/techtrax/
MVP FAQ site: http://mvps.org/
 

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