Re: Macro To "Paste Unformatted"...
- From: JE McGimpsey <jemcgimpsey@xxxxxxxx>
- Date: Fri, 24 Nov 2006 11:52:43 -0700
In article <C18B33A2.B79A%rchampion@xxxxxxxxxxxxxxx>,
"Robert R. Champion" <rchampion@xxxxxxxxxxxxxxx> wrote:
I seldom paste formatted text; most of the time I have to Paste
Special-Unformatted (too bad there is not a Preference setting for that; if
there is, I can't find it!).
There isn't.
I also almost never paste styled text, so I replace the Paste command by
including something like this macro (my actual macro is rather more
complicated, but highly ideosyncratic) in an add-in:
Public Sub EditPaste()
'Paste Plain Text, if possible.
On Error GoTo ErrHandler
Selection.PasteSpecial Link:=False, _
Placement:=wdInLine, _
DisplayAsIcon:=False, _
DataType:=wdPasteText
ExitSub:
Exit Sub
ErrHandler:
Selection.Paste
Resume ExitSub
End Sub
I then add an item to the menu to paste formatted text for the very rate
cases that I might want to:
Public Sub EditPasteFormatted()
Selection.Paste
End Sub
.
- Follow-Ups:
- Re: Macro To "Paste Unformatted"...
- From: Daiya Mitchell
- Re: Macro To "Paste Unformatted"...
- Prev by Date: Re: Printing in Office 2004 vs. Office X
- Next by Date: Re: Printing in Office 2004 vs. Office X
- Previous by thread: Re: recent documents
- Next by thread: Re: Macro To "Paste Unformatted"...
- Index(es):
Relevant Pages
|