Cutting and copying a list in Word 2003 (posted in General)

A

Alan Stancliff

I originally posted this in the microsoft.public.word.vba.general
newsgroup and received an answer, but unfortunately I was unable to get
it to work. I'll post the link to the original post below.

Here's my question:

In Word 2003, how can I cut a list that is under my cursor and copy it
using VBA? The list is created with Word's auto-numbering and
auto-outlining feature.

Regards,

Alan

*******LINKS TO ORIGINAL POSTING*******
Link to original posting:
http://www.microsoft.com/communitie...b2b58efec0aa&lang=en&cr=US&sloc=en-us&m=1&p=1

or

news://msnews.microsoft.com:119/[email protected]
 
T

Tony Strazzeri

I originally posted this in the microsoft.public.word.vba.general
newsgroup and received an answer, but unfortunately I was unable to get
it to work. I'll post the link to the original post below.

That's odd! Your last post in the other thread said "That worked
exactly the way I
wanted it to."

So what exactly is the problem now?

Since you don't say, I'm guessing it has something to do with the
numbering since the text you are copying is autonumbered. When you
paste it, it will increment the numbers. If you want to keep the
original numbers then use the following.
Selection.PasteSpecial Link:=False,
DataType:=wdPasteText

Hope this helps.

Cheers
TonyS.
 

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