WD2000: Reviewing Toolbar Not Displayed with New Document (232400)



The information in this article applies to:

  • Microsoft Word 2000

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.

MORE INFORMATION

To Add the ShowReviewingToolbar Macro to Word

Use the following steps to add the ShowReviewingToolbar macro to Word:
  1. Start Word with a new blank document.
  2. On the Tools menu, point to Macros and click Macros.
  3. In the Macros dialog box, do the following steps:
    1. In the Macro name box, type ShowReviewingToolbar.
    2. Change the Macros in box to Normal.dot (global template).
    3. Click Create.
  4. 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 <date> by <username>
    '
    
    End Sub
    					
  5. 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 <date> by <username>
    '
       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
    					
  6. On the File menu, click Close and Return to Microsoft Word.
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:
  1. On the Tools menu, click Customize.
  2. On the Commands tab, under Categories, click to select Macros.
  3. 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

  4. 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.
  5. In the Customize dialog box, click Close.
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:

Modification Type:MinorLast Reviewed:8/23/2005
Keywords:kbbug kbnofix KB232400