Copying sections of document without losing heading numbers.

J

justme123

I have a very large document with several tiers of headings. I would like to
copy just selected sections of this document, such as section 4.2.6, etc,
into a separate document without losing the heading format numbers. Currently
when I do this, it copies the format, but begins the numbering back at 1.1.1.
Is there a way to do this?
 
S

Stefan Blom

In order to preserve the numbers, you will have to convert them to plain
text: Open the document you are copying from; you may want to Save As so
that you don't inadvertently save any changes to the original file. Make
sure that the newly created document is active in Word, press Alt+F11 to
display the Visual Basic Editor, and then press Ctrl+G to activate the
Immediate window. Type

ActiveDocument.ConvertNumbersToText

and press Enter.

After you've done that, clear the numbering from the style definitions.

Finally, copy and paste the text into your target document.

--
Stefan Blom
Microsoft Word MVP


in message
news:[email protected]...
 

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