WD2000: Clipboard Toolbar Does Not Remain Visible (224750)



The information in this article applies to:

  • Microsoft Word 2000

This article was previously published under Q224750

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

REFERENCES

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


Modification Type:MinorLast Reviewed:8/23/2005
Keywords:kbnofix kbprb KB224750