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 / February 2008

Tip: Looking for answers? Try searching our database.

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

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Alan Stancliff - 09 Feb 2008 09:50 GMT
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/communities/newsgroups/en-us/default.aspx?dg=microsoft.
public.word.vba.general&tid=5250ee7e-282b-495e-8fdb-67b267957eb8&cat=en_US_eb67b
351-9403-4888-a42c-b2b58efec0aa&lang=en&cr=US&sloc=en-us&m=1&p=1


or

news://msnews.microsoft.com:119/Ocj6GCqaIHA.4696@TK2MSFTNGP05.phx.gbl
Tony Strazzeri - 16 Feb 2008 03:15 GMT
On Feb 9, 8:50 pm, Alan Stancliff <alanstancl...@nojunkyahoo.com>
wrote:
> 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.

> Here's my question:
>
[quoted text clipped - 12 lines]
>
> news://msnews.microsoft.com:119/Ocj6GCqaIHA.4...@TK2MSFTNGP05.phx.gbl
 
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.