Is there any way to put Paste Unformatted on the QAT?

G

grammatim

It doesn't right-click, and it isn't in the All Commands list. With
the Paste Special button it's still three clicks to get it done.
 
G

Graham Mayor

Add the following macro to a button on the QAT or keyboard shortcut.

Sub PasteUnfText()
On Error GoTo Oops
Selection.PasteSpecial DataType:=wdPasteText, _
Placement:=wdInLine
End
Oops:
Beep
End Sub

http://www.gmayor.com/installing_macro.htm

--
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor - Word MVP

My web site www.gmayor.com

<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
 
G

grammatim

It works! Thank you.

Looks like there's no way to change the long phrase or the button
going with "Para Keep With Next" or "Document Map," is there? Now that
I know about Modify in the Customize panel, it isn't available for
either of those (and together they use up a couple of inches of QAT!)
 
G

Greg Maxey

Peter,

Yes there is a way. It involves a RibbonXML script to customize the
QAT. QAT customization requires a clean slate (ribbon
startfromscratch). This means that the script will have to include
XML to restore the Office Menu commands and the Built-in tabs. The
script shortens the lables to PKWN and VDM:

<customUI xmlns="http://schemas.microsoft.com/office/2006/01/
customui">
<ribbon startFromScratch="true">
<officeMenu >
<menu idMso="FileSaveAsMenu" visible="true" />
<menu idMso="FilePrintMenu" visible="true" />
<menu idMso="FilePrepareMenu" visible="true" />
<menu idMso="FileSendMenu" visible="true" />
<menu idMso="MenuPublish" visible="true" />
<button idMso="FileClose" visible="true" />
</officeMenu >
<tabs>
<tab idMso="TabHome" visible="true" />
<tab idMso="TabInsert" visible="true" />
<tab idMso="TabPageLayoutWord" visible="true" />
<tab idMso="TabReferences" visible="true" />
<tab idMso="TabMailings" visible="true" />
<tab idMso="TabReviewWord" visible="true" />
<tab idMso="TabView" visible="true" />
<tab idMso="TabDeveloper" visible="true" />
<tab idMso="TabAddIns" visible="true" />
</tabs>
<qat>
<sharedControls>
<control idMso="ParagraphKeepWithNext" label="PKWN" />
<control idMso="ViewDocumentMap" label="VDM" />
</sharedControls>
</qat>
</ribbon>
</customUI>
 
G

grammatim

Thank you, but I'd have no idea what to do with that (note that Graham
provides step-by-step instructions on installing a macro and making a
button for it), and my QAT already has 35 things on it, and
reconstructing it would not be a pleasant task.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top