Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Programming / March 2005

Tip: Looking for answers? Try searching our database.

Help with "Paste Special" in a macro

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Charlie - 01 Mar 2005 19:40 GMT
I'm trying to get a small macro to work.... what I need is to get a
macro that will duplicate the Word command sequence of

Edit
Paste Special
then in the "As:" box select Unformatted Text.

I've tried the macro recorder, but it always records the "default"
selection, not Unformatted Text.

ie:     Selection.PasteAndFormat (wdPasteDefault)

Whar should I be doing?
Charlie Hoffpauir
http://freepages.genealogy.rootsweb.com/~charlieh/
Charlie - 01 Mar 2005 19:57 GMT
Oops, posted too soon, I found it in a section of the Help file that
I'd overlooked:

Selection.Collapse Direction:=wdCollapseStart
Selection.Range.PasteSpecial DataType:=wdPasteText

does what I need.

>I'm trying to get a small macro to work.... what I need is to get a
>macro that will duplicate the Word command sequence of
[quoted text clipped - 11 lines]
>Charlie Hoffpauir
>http://freepages.genealogy.rootsweb.com/~charlieh/

Charlie Hoffpauir
http://freepages.genealogy.rootsweb.com/~charlieh/
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.