WD2000: Reviewing Toolbar Not Displayed with New Document

ID: Q232400


The information in this article applies to:
  • Microsoft Word 2000


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, including, but not limited to, the implied warranties of merchantability and/or fitness for a particular purpose. This article assumes that you are familiar with the programming language being demonstrated and the tools used to create and debug procedures. Microsoft support professionals 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 needs. If you have limited programming experience, you may want to contact a Microsoft Certified Solution Provider or the Microsoft fee-based consulting line at (800) 936-5200. For more information about Microsoft Certified Solution Providers, please see the following page on the World Wide Web:

http://www.microsoft.com/mcsp/
For more information about the support options available from Microsoft, please see the following page on the World Wide Web:

http://www.microsoft.com/support/supportnet/refguide/


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 this to be a problem in the Microsoft products 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:


  5. 
    Sub ShowReviewingToolbar()
    '
    ' ShowReviewingToolbar Macro
    ' Macro created <date> by <username>
    '
    
    End Sub 
  6. 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:


  7. 
    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 
  8. On the File menu, click Close and Return to Microsoft Word.


For more information about using the sample code in this article, please see the following article in the Microsoft Knowledge Base:
Q212536 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:


  4. Normal.NewMacros.ShowReviewingToolbar
  5. 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.


  6. 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:
Q191178 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/support/officedev/

Keywords : kbdta wd2000
Version : WINDOWS:2000
Platform : WINDOWS
Issue type : kbbug


Last Reviewed: July 1, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.