Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
Word
application.errors
conversions
docmanagement
drawing.graphics
formatting.longdocs
international
internet.assistant
mail
mailmerge.fields
menustoolbars
newusers
numbering
oleinterop
pagelayout
printingfonts
setup.networking
spelling.grammar
tables
vba.addins
vba.beginners
vba.customization
vba.general
vba.userforms
web.authoring
word6-7macros
word97vba
  
 
date: Sat, 09 Feb 2008 01:50:38 -0800,    group: microsoft.public.word.vba.beginners        back       


Cutting and copying a list in Word 2003 (posted in General)   
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_eb67b351-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
date: Sat, 09 Feb 2008 01:50:38 -0800   author:   Alan Stancliff

Re: Cutting and copying a list in Word 2003 (posted in General)   
On Feb 9, 8:50 pm, Alan Stancliff 
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:
>
> 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...
>
> or
>
> news://msnews.microsoft.com:119/Ocj6GCqaIHA.4...@TK2MSFTNGP05.phx.gbl
date: Fri, 15 Feb 2008 19:15:20 -0800 (PST)   author:   Tony Strazzeri

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us