December 16, 2004

Paste Unformatted

I copy and paste a lot of text from various documents to other documents and it drives me a bit crazy when word processors tend to overhelp and insist on trying to keep formatting. "Paste Special..." is fine, but requires several steps. So I always end up reinventing the same macro, regardless of what word processor or system I'm using. I just got a new Mac and bumped into this problem, and ended up reinvening the macro, so I figured I'd share while I could. At some point I may find the OpenOffice/StarOffice version of this command, and post that. It's the simplest macro ever, but here it is:

Sub PasteUnformatted()
'
' PasteUnformatted Macro
' Macro recorded 12/16/04 by Mike Kuniavsky'
    Selection.PasteAndFormat (wdFormatPlainText)
End Sub

To use:

  • Go to Tools:Macro:Macros...
  • Type in "PasteUnformatted" into the Name field
  • Click "Create"
  • Paste "Selection.PasteAndFormat (wdFormatPlainText)" into the space where it puts the cursor
  • Save
  • I then assign it to a command key (I use Command-Shift-V--currently "Paste from Scrapbook," but who cares about the scrapbook?) and give it a toolbar icon (I like the little grey piggy bank) through Tools:Customize:Customize Toolbars/Menus command.
Posted by mikek at December 16, 2004 05:12 PM | TrackBack
Comments

Thankfully in my world, FileMaker has always had the Command-Shift-V option built in. If not, I'd be pulling my hair out, or kludging something with Quickeys...ack.

Posted by: Ray Koltys at December 16, 2004 06:30 PM
Post a comment









Remember personal info?