Plain Text Paste, Word 2003

Subject: Plain Text Paste, Word 2003
From: jopakent -at- comcast -dot- net
To: techwr-l -at- lists -dot- techwr-l -dot- com (TECHWR)
Date: Wed, 12 Mar 2008 16:30:33 +0000

Here's a silly little irritation... (Word 2003, XP) I've been using a little shortcut for the last couple of years that makes grabbing chunks of text from one doc (or a web site) and pasting it into my active doc a bit quicker and easier.

Instead of doing a simple cut and paste, I do a paste special and select Unformatted Text. This brings in the text and Word picks up the formatting of the existing paragraph style; works great.

However Alt-E-S, cursor up/down-OK is a bit clunky, so I recorded the keystrokes and then mapped the macro (PlainPaste) to a keystroke sequence "Alt-P."

I'm setting up a new box and for some reason my little shortcut doesn't work right. The text pastes in OK, but it comes in with it's formatting. Here's what recorded:

Sub PlainPaste()
'
' PlainPaste Macro
' Macro recorded 3/12/2008 by J. Paul Kent
'
Selection.PasteAndFormat (wdPasteDefault)
End Sub

I looked in the VBA help using the keyword "Plain" and found wdStylePlainText in a list somewhere. I edited the macro and substituted wdStylePlainText for wdPasteDefault, but that did not seem to make a difference.

I know this worked before, so I'm confused as to what I'm doing wrong. Any ideas?

TIA,
--
J. Paul Kent
206-383-0539
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Create HTML or Microsoft Word content and convert to Help file formats or
printed documentation. Features include support for Windows Vista & 2007
Microsoft Office, team authoring, plus more.
http://www.DocToHelp.com/TechwrlList

True single source, conditional content, PDF export, modular help.
Help & Manual is the most powerful authoring tool for technical
documentation. Boost your productivity! http://www.helpandmanual.com

---
You are currently subscribed to TECHWR-L as archive -at- web -dot- techwr-l -dot- com -dot-

To unsubscribe send a blank email to
techwr-l-unsubscribe -at- lists -dot- techwr-l -dot- com
or visit http://lists.techwr-l.com/mailman/options/techwr-l/archive%40web.techwr-l.com


To subscribe, send a blank email to techwr-l-join -at- lists -dot- techwr-l -dot- com

Send administrative questions to admin -at- techwr-l -dot- com -dot- Visit
http://www.techwr-l.com/ for more resources and info.


Follow-Ups:

Previous by Author: Seq field solution <SOLVED>
Next by Author: RE: Naming Files and Folders
Previous by Thread: A second thank you from a new tech writer
Next by Thread: RE: Plain Text Paste, Word 2003


What this post helpful? Share it with friends and colleagues:


Sponsored Ads