Good day
Could someone please help me with a macro? I would like to paste text
unformatted into Word.
Thanks
--
Ansie

Re: Creating macro by Helmut

Helmut
Thu Feb 09 06:11:43 CST 2006

Hi Ansie,

hm...

in a word-document, there can be no unformatted text.
Each and every letter has a formatting.

What is the problem?

--
Greetings from Bavaria, Germany

Helmut Weber, MVP WordVBA

Win XP, Office 2003
"red.sys" & Chr$(64) & "t-online.de"

Re: Creating macro by Charles

Charles
Thu Feb 09 08:29:15 CST 2006

Did you try using the macro recorder to do this?
--
Charles Kenyon

Word New User FAQ & Web Directory: http://addbalance.com/word

Intermediate User's Guide to Microsoft Word (supplemented version of
Microsoft's Legal Users' Guide) http://addbalance.com/usersguide

See also the MVP FAQ: http://word.mvps.org/FAQs/ which is awesome!
--------- --------- --------- --------- --------- ---------
This message is posted to a newsgroup. Please post replies
and questions to the newsgroup so that others can learn
from my ignorance and your wisdom.


"Ansie" <Ansie@discussions.microsoft.com> wrote in message
news:0480ABF2-9334-4768-BA73-E688CCF57724@microsoft.com...
> Good day
> Could someone please help me with a macro? I would like to paste text
> unformatted into Word.
> Thanks
> --
> Ansie



Re: Creating macro by Jonathan

Jonathan
Thu Feb 09 07:30:59 CST 2006


"Ansie" <Ansie@discussions.microsoft.com> wrote in message
news:0480ABF2-9334-4768-BA73-E688CCF57724@microsoft.com...
> Good day
> Could someone please help me with a macro? I would like to paste text
> unformatted into Word.
> Thanks
> --
> Ansie

Sub PasteUnformatted
Selection.PasteSpecial DataType:=wdPasteText
End Sub

Works will all versions of Word from 97 onwards.


--
Regards
Jonathan West - Word MVP
www.intelligentdocuments.co.uk
Please reply to the newsgroup
Keep your VBA code safe, sign the ClassicVB petition www.classicvb.org