Converting style based numbering to text

J

jgugenheim

I have 40 documents with 5 section heading levels, the 3 highest using style
based automatic numbering. I need to convert them to unnumbered styles with
the automatic numbering added back in as ordinary text (within the style) so
it looks the same to a reader, but the numbering can be edited. I cannot seem
to see into the number part of the paragraph. Is there a VBA function I can
use to do this, or has anyone written a related macro? (Word 2003) Thanks.
Jeremy Gugenheim
 
S

Stefan Blom

To convert numbering to text: Press Alt+F11 to display the Visual Basic
Editor. Press Ctrl+G to activate the Immediate window. Type

ActiveDocument.ConvertNumbersToText

and press Enter.

Auto numbers will be replaced with plain text numbers.

Note that in order to get rid of numbering completely, you must also remove
it from the paragraph styles (via the Modify Style dialog box); otherwise,
it can be brought back by pressing Ctrl+Q.

--
Stefan Blom
Microsoft Word MVP


in message
news:D[email protected]...
 
J

Jay Freedman

jgugenheim said:
I have 40 documents with 5 section heading levels, the 3 highest
using style based automatic numbering. I need to convert them to
unnumbered styles with the automatic numbering added back in as
ordinary text (within the style) so it looks the same to a reader,
but the numbering can be edited. I cannot seem to see into the number
part of the paragraph. Is there a VBA function I can use to do this,
or has anyone written a related macro? (Word 2003) Thanks. Jeremy
Gugenheim

Yes, there's a function to do this. Look in the VBA help for the
ConvertNumbersToText method. It can be applied to an entire document at one
shot -- so your macro can just open each document, apply the method, and
save and close.

--
Regards,
Jay Freedman
Microsoft Word MVP
Email cannot be acknowledged; please post all follow-ups to the newsgroup so
all may benefit.
 

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