Stripping all formatting and codes when copying/pasting

G

Guest

I am copying and pasting documents from Word 2003 to Word 2007 and want them
to paste into Word completly stripped of all formatting, codes, etc.,
including headers, footers, tab settings, fonts, etc. What is the best way to
do this? Should I paste from Word 2003 into Notepad and then from Notepad
into Word 2007? It is essential that nothing come into Word 2007 other than
keystrokes in the body. Thanks in advance.

Arlene
 
S

Stefan Blom

Copy the text. In Word 2007, click the Home tab of the ribbon. Click Paste,
and then click Paste Special. Choose "Unformatted Text" and then click OK.
The pasted text will assume the formatting at the insertion point.

--
Stefan Blom
Microsoft Word MVP


in message
news:D[email protected]...
 
G

Graham Mayor

Paste special > unformatted text (or use the following macro)

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

http://www.gmayor.com/installing_macro.htm

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

My web site www.gmayor.com

<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
 
G

Guest

Would this strip out any header and footer codes that might have been present
in the original document as well?
What is the difference between Unformatted Text and Unformatted Unicode Text?
 
G

Graham Mayor

Attached to a QAT button or keyboard shortcut it simply uses fewer
keystrokes to attain the same result.

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

My web site www.gmayor.com

<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
 
G

Guest

Thank you. I went to your link and created the macro but the link doesn't
tell me how to run the macro or assign it to a keyboard shortcut. Do you have
another link for that?
 
S

Suzanne S. Barnhill

I feel sure Graham's article includes a link to his article at
http://www.gmayor.com/installing_macro.htm. For the rest, see
http://word.mvps.org/FAQs/Customization/AsgnCmdOrMacroToToolbar.htm and
http://word.mvps.org/FAQs/Customization/AsgnCmdOrMacroToHotkey.htm (both
written for versions before Word 2007, but the principle is the same).

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA

Email cannot be acknowledged; please post all follow-ups to the newsgroup so
all may benefit.
 
G

Guest

Thanks so much!!

Suzanne S. Barnhill said:
I feel sure Graham's article includes a link to his article at
http://www.gmayor.com/installing_macro.htm. For the rest, see
http://word.mvps.org/FAQs/Customization/AsgnCmdOrMacroToToolbar.htm and
http://word.mvps.org/FAQs/Customization/AsgnCmdOrMacroToHotkey.htm (both
written for versions before Word 2007, but the principle is the same).

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA

Email cannot be acknowledged; please post all follow-ups to the newsgroup so
all may benefit.
 
G

Graham Mayor

The tools to assign items to the QAT or to the Keyboard are both located on
the QAT editor

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

My web site www.gmayor.com

<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
 
G

Guest

Arlene said:
Would this strip out any header and footer codes that might have been present
in the original document as well?
Yes.

What is the difference between Unformatted Text and Unformatted Unicode Text?

I'm not sure. I guess pasting as Unicode preserves any Unicode text (which
includes "special" characters not supported by ASCII or ANSI) that might be
included in the copied data?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top