WD97: Title Bar File Name Is Not Updated When You Use ActiveWindow.Caption (155991)
The information in this article applies to:
- Microsoft Word 97 for Windows
This article was previously published under Q155991 SYMPTOMS
When you use the ActiveDocument.ActiveWindow.Caption statement in a Microsoft Visual Basic for Applications macro (for example, a FileSaveAs or FileOpen macro), Word fails to update the title bar when you save the document with a new file name.
NOTE: Word saves the document but does not update the title bar in the open document. When you close and reopen the document, the title bar displays the correct file name.
STATUSMicrosoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article. This problem was corrected in Microsoft Word 2000.
REFERENCESFor additional information about getting help with Visual Basic for Applications, click the article number below
to view the article in the Microsoft Knowledge Base:
163425 WD97: Macro Programming Resources
163435 VBA: Programming Resources for Visual Basic for Applications
Modification Type: | Minor | Last Reviewed: | 10/11/2006 |
---|
Keywords: | kbbug kbdtacode kbfix kbProgramming KB155991 |
---|
|