Unformatted Paste
  Home FAQ Contact Sign in
microsoft.pu only
 
Advanced search
POPULAR GROUPS

more...

microsoft.pu Profile…
 Up
Unformatted Paste         


Author: Chris Boorman
Date: Oct 24, 2007 14:32

When I used Word 2003, I created a one-line macro for pasting unformatted text:

(Selection.PasteSpecial DataType:=wdPasteText),
...and I assigned it the keyboard shortcut "Ctrl+d". For me, this was truly an indispensible tool.

I now use Word 2007, and unfortunately my macro doesn't work. Word 2007 has a new feature that is supposed to make such a macro unnecessary. In the Word 2007 Advanced Options page, there are three options for pasting text.

a.. Keep Source Formatting
b.. Match Destination Formatting
c.. Keep Text Only
I've experimented with these settings, but I've found them to be too restrictive. So, I now find myself clicking "Past" on the Clipboard tab on the Home ribbon, and then "Paste Special" and then "Unformatted Text," which is cumbersome.

Can someone tell me how I can assign the unformatted paste functionality to keyboard shortcut "Ctrl+d"?

Thanks,

Chris Boorman.

When I
used Word 2003, I created a one-line macro for pasting unformatted
text:
Show full article (1.85Kb)
1 Comment
Re: Unformatted Paste         


Author: Graham Mayor
Date: Oct 24, 2007 21:50

The macro

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

works in both Word 2003 and 2007
and the edit > paste special function is already assigned to ALT+CTRL+V

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

My web site www.gmayor.com
Word MVP web site http://word.mvps.org
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
>"Chris Boorman" microsoft.com> wrote in message
>news:eWn5nVoFIHA.4880@TK2MSFTNGP03.phx.gbl...
>When I used Word 2003, I created a one-line macro for pasting unformatted
>text:
>(Selection.PasteSpecial...
Show full article (1.46Kb)
no comments