Microsoft KB Archive/232400

= WD2000: Reviewing Toolbar Not Displayed with New Document =

Article ID: 232400

Article Last Modified on 8/23/2005

-

APPLIES TO


 * Microsoft Word 2000 Standard Edition

-



This article was previously published under Q232400



SYMPTOMS
After you display the Reviewing toolbar (on the View menu, point to Toolbars and then click to select Reviewing), when you create a new document, the Reviewing toolbar no longer appears.

NOTE: If you quit Word with the Reviewing toolbar displayed, when you restart Word, the Reviewing toolbar is automatically displayed.



WORKAROUND
To work around this behavior, you can create a macro and assign it to a toolbar button to easily display the Reviewing toolbar.

Microsoft provides programming examples for illustration only, without warranty either expressed or implied. This includes, but is not limited to, the implied warranties of merchantability or fitness for a particular purpose. This article assumes that you are familiar with the programming language that is being demonstrated and with the tools that are used to create and to debug procedures. Microsoft support engineers can help explain the functionality of a particular procedure, but they will not modify these examples to provide added functionality or construct procedures to meet your specific requirements.

The following example Visual Basic for Applications procedure will display the Reviewing toolbar if it does not appear already and then dock the Reviewing toolbar:

NOTE: If you click the button to display the Reviewing toolbar while the toolbar is displayed, the button does nothing.

Sub ShowReviewingToolbar Dim cbClip As CommandBar Set cbClip = CommandBars("Reviewing") With cbClip If Not .Visible Then .Visible = True          ' Show toolbar. .Position = msoBarTop    ' Dock at top of application. .RowIndex = msoBarRowLast ' Dock below other toolbars. End If  End With End Sub



STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article.



To Add the ShowReviewingToolbar Macro to Word
Use the following steps to add the ShowReviewingToolbar macro to Word:  Start Word with a new blank document. On the Tools menu, point to Macros and click Macros. In the Macros dialog box, do the following steps:  In the Macro name box, type ShowReviewingToolbar. Change the Macros in box to Normal.dot (global template). Click Create.</li></ol> </li>  In the Microsoft Visual Basic Editor, you should see the insertion point (blinking cursor) in the code window similar to the following example: Sub ShowReviewingToolbar ' ' ShowReviewingToolbar Macro ' Macro created by '

End Sub </li>  On the blank line immediately above the End Sub, type the macro example listed in the "Workaround" section of this article. Your completed macro should look similar to the following example: Sub ShowReviewingToolbar ' ' ShowReviewingToolbar Macro ' Macro created by ' Dim cbClip As CommandBar Set cbClip = CommandBars("Reviewing") With cbClip If Not .Visible Then .Visible = True          ' Show toolbar. .Position = msoBarTop    ' Dock at top of application. .RowIndex = msoBarRowLast ' Dock below other toolbars. End If  End With End Sub </li> On the File menu, click Close and Return to Microsoft Word.</li></ol>

For more information about how to use the sample code in this article, click the article number below to view the article in the Microsoft Knowledge Base:

212536 OFF2000: How to Run Sample Code from Knowledge Base Articles

To Add the ShowReviewingToolbar Macro to a Toolbar Button
Use the following steps to add the ShowReviewingToolbar macro to an existing toolbar in Word: <ol> On the Tools menu, click Customize.</li> On the Commands tab, under Categories, click to select Macros.</li> On the Commands tab, under Commands, click to select the ShowReviewingToolbar macro.

NOTE: The ShowReviewingToolbar macro may appear similar to the following example:

Normal.NewMacros.ShowReviewingToolbar

</li> Hold the mouse button down on the ShowReviewingToolbar macro. Then drag the macro to any toolbar. When you drag the macro to a toolbar, a bold vertical line appears on the toolbar where the button will be located. After you choose the location for the toolbar button, release the mouse button. The ShowReviewingToolbar macro button appears on the toolbar.</li> In the Customize dialog box, click Close.</li></ol>

NOTE: If you are prompted with the following message when you quit Word, be sure to click Yes to save your changes:

Changes have been made that affect the global template, Normal.dot. Do you want to save those changes?

For additional information about how to customize and create toolbars and toolbar buttons, please see the following article in the Microsoft Knowledge Base:

191178 WD2000: How to Create Custom Toolbars, Toolbar Buttons

For more information about Office Automation, please visit the Office Development support site at:

http://support.microsoft.com/ofd

Keywords: kbbug kbnofix KB232400

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.