Prev: Excel date column for working out time differences
Next: Converting text and listnum fields to multi-level lists
From: Neil Humphries on 11 Feb 2010 10:47 I need to copy numbered paragraphs from multiple documents. The paragraphs are inconsistent and may be numbered using text, MS Word multi-level list styles or listnum fields. I can search the documents, find the needed paragraphs and copy them to a new document, but when I do, the numbering resets according to the destination document's contents. How do I retain the source document's numbering in the destination document so the reader can determine where in the source document the paragraph came from? Can I convert all the numbering to text before pasting without affecting the source documents?
From: Graham Mayor on 12 Feb 2010 02:39 You can convert the numbering to text before copying and it won't affect the original documents provided you don't save them after making the changes. Sub NumbersAutoToText() ActiveDocument.ConvertNumbersToText End Sub -- <>>< ><<> ><<> <>>< ><<> <>>< <>><<> Graham Mayor - Word MVP My web site www.gmayor.com Word MVP web site http://word.mvps.org <>>< ><<> ><<> <>>< ><<> <>>< <>><<> "Neil Humphries" <NeilHumphries(a)discussions.microsoft.com> wrote in message news:CDF63533-E3EE-45F7-B605-616DC7E89056(a)microsoft.com... >I need to copy numbered paragraphs from multiple documents. The paragraphs > are inconsistent and may be numbered using text, MS Word multi-level list > styles or listnum fields. I can search the documents, find the needed > paragraphs and copy them to a new document, but when I do, the numbering > resets according to the destination document's contents. > > How do I retain the source document's numbering in the destination > document > so the reader can determine where in the source document the paragraph > came > from? > > Can I convert all the numbering to text before pasting without affecting > the > source documents?
From: Neil Humphries on 16 Feb 2010 10:44
I just got back from Montreal. Thanks Graham, that works for me since I don't need to save the source files. "Graham Mayor" wrote: > You can convert the numbering to text before copying and it won't affect the > original documents provided you don't save them after making the changes. > > Sub NumbersAutoToText() > ActiveDocument.ConvertNumbersToText > End Sub > > > -- > <>>< ><<> ><<> <>>< ><<> <>>< <>><<> > Graham Mayor - Word MVP > > My web site www.gmayor.com > Word MVP web site http://word.mvps.org > <>>< ><<> ><<> <>>< ><<> <>>< <>><<> > > > "Neil Humphries" <NeilHumphries(a)discussions.microsoft.com> wrote in message > news:CDF63533-E3EE-45F7-B605-616DC7E89056(a)microsoft.com... > >I need to copy numbered paragraphs from multiple documents. The paragraphs > > are inconsistent and may be numbered using text, MS Word multi-level list > > styles or listnum fields. I can search the documents, find the needed > > paragraphs and copy them to a new document, but when I do, the numbering > > resets according to the destination document's contents. > > > > How do I retain the source document's numbering in the destination > > document > > so the reader can determine where in the source document the paragraph > > came > > from? > > > > Can I convert all the numbering to text before pasting without affecting > > the > > source documents? > > > . > |