Retaining Heading Number format

  • Thread starter Thread starter justme123
  • Start date Start date
J

justme123

Currently when I copy a selected section of a large document into a new word
document, the heading numbers begin at "1" again. Is there a way to retain
the heading numbers when copying sections of a document and retain the
additional formatting such as bold, paragraphs, etc.

I know you can copy it into an xml editor or something like that, but then I
lose all the formatting that I need.

I've asked this question recently, but I cannot find it anymore. I'd really
like to see if there's a way to do this.

Thanks!
 
The easiest way is to convert numbers to text in the original document
before coyping. Here's how to do that: Make sure that the source (original)
document is the active document. Press Alt+F11 to display the Visual Basic
Editor. Press Ctrl+G to activate the Immediate window. Type

ActiveDocument.ConvertNumbersToText

and press Enter.

If numbering was applied with paragraph styles, be sure to clear the
numbering from the styles, and then copy the text into the target document.

When you are done, close the source document without saving.
 

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

Back
Top