WD2000: Clipboard Toolbar Does Not Remain Visible

ID: Q224750


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


SYMPTOMS

When you view or dock the Clipboard toolbar (on the View menu, point to Toolbars, and then click Clipboard) and then quit and restart Word, the Clipboard toolbar is no longer visible.


CAUSE

This behavior is by design. The Active Clipboard toolbar is different from other toolbars because it is global. That is, there is one Active Clipboard toolbar that persists across all Office applications (even simultaneously). If you open the toolbar in one Office application, it is open in other Office applications. If only one Office application is open, when you quit that Office application, for example, Word, the toolbar returns to its non-displayed or non-visible state.


WORKAROUND

To work around this behavior, you can create a macro to display the Clipboard toolbar every time you start Word.

The following example Visual Basic for Applications procedure displays the Clipboard toolbar if it is not displayed already and then docks the toolbar.

NOTE: You must name the procedure AutoExec to run when Word is started.


Sub AutoExec()
   Dim cbClip As CommandBar
   Set cbClip = CommandBars("Clipboard")
   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 


MORE INFORMATION

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/
For more information about Office Automation, please visit the Office Development support site at:
http://support.microsoft.com/support/officedev/


REFERENCES

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

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


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