WD2000: Clipboard Toolbar Does Not Remain Visible (224750)
The information in this article applies to:
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
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: | Minor | Last Reviewed: | 8/23/2005 |
---|
Keywords: | kbnofix kbprb KB224750 |
---|
|