Word 2003 Clipboard automatically displayed

User avatar
HansV
Administrator
Posts: 78499
Joined: 16 Jan 2010, 00:14
Status: Microsoft MVP
Location: Wageningen, The Netherlands

Re: Word 2003 Clipboard automatically displayed

Post by HansV »

William's suggestion (thanks!) is worth a try - these WordBasic commands are often more dependable than VBA, strangely enough...
Best wishes,
Hans

uncle
3StarLounger
Posts: 278
Joined: 04 Aug 2010, 19:50

Re: Word 2003 Clipboard automatically displayed

Post by uncle »

Thank you, William. The Clipboard did not display automatically when I opened additional documents. What AutoExec line should be added, please.

My thanks, Uncle

User avatar
HansV
Administrator
Posts: 78499
Joined: 16 Jan 2010, 00:14
Status: Microsoft MVP
Location: Wageningen, The Netherlands

Re: Word 2003 Clipboard automatically displayed

Post by HansV »

Do you mean that with the WordBasic line in the AutoExec macro, the Clipboard task pane is displayed when you start Word, but hidden again when you open a document within Word?
Best wishes,
Hans

uncle
3StarLounger
Posts: 278
Joined: 04 Aug 2010, 19:50

Re: Word 2003 Clipboard automatically displayed

Post by uncle »

Hans - I do not know how to write the AutoExec macro to add to Williams' code.

User avatar
HansV
Administrator
Posts: 78499
Joined: 16 Jan 2010, 00:14
Status: Microsoft MVP
Location: Wageningen, The Netherlands

Re: Word 2003 Clipboard automatically displayed

Post by HansV »

Press Alt+F8 to display the Macros dialog.
Select AutoExec in the list of macros.
Click Edit.
Replace the line

CommandBars("Office Clipboard").Visible = True

with

WordBasic.EditOfficeClipboard

Press Ctrl+S to save.
Press Alt+F4 to quit the Visual Basic Editor.
Quit and restart Word.
Best wishes,
Hans

uncle
3StarLounger
Posts: 278
Joined: 04 Aug 2010, 19:50

Re: Word 2003 Clipboard automatically displayed

Post by uncle »

The new code works with the first document I open but not subsequent ones. The code is
Sub AutoExec()
WordBasic.EditOfficeClipboard
End Sub
I am missing something, but what???

Thank you!

User avatar
HansV
Administrator
Posts: 78499
Joined: 16 Jan 2010, 00:14
Status: Microsoft MVP
Location: Wageningen, The Netherlands

Re: Word 2003 Clipboard automatically displayed

Post by HansV »

Go to edit AutoExec again, but this time add the following code BELOW the End Sub line:

Code: Select all

Sub AutoNew()
  WordBasic.EditOfficeClipboard
End Sub

Sub AutoOpen()
  WordBasic.EditOfficeClipboard
End Sub
AutoExec will run when you start Word, AutoNew will run each time you create a new document, and AutoOpen will run each time you open an existing document.
Best wishes,
Hans

uncle
3StarLounger
Posts: 278
Joined: 04 Aug 2010, 19:50

Re: Word 2003 Clipboard automatically displayed

Post by uncle »

Thank you William and Hans - I am a happy camper now.

Uncle

User avatar
HansV
Administrator
Posts: 78499
Joined: 16 Jan 2010, 00:14
Status: Microsoft MVP
Location: Wageningen, The Netherlands

Re: Word 2003 Clipboard automatically displayed

Post by HansV »

Kudos to William for coming up with the magic line! :thumbup:
Best wishes,
Hans