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

more...

 Up
Re: Unformatted Paste         

Group: microsoft.pu · Group Profile
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 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.
>Keep Source Formatting
>Match Destination Formatting
>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.
no comments
diggit! del.icio.us! reddit!