Limiting ConvertNumbersToText to only certain parts of a docum
In theory, you could use
Sub TestMacro()
For Each t In ActiveDocument.Tables
t.Range.ListFormat.ConvertNumbersToText
Next t
End Sub
to convert list items in table cells. But note that if there are items of that
same list outside of the table, they will renumber, which is probably not what
you want.
In other words, it would be easier to convert all numbering (although it isn't
exactly what you want to do).
--
Stefan Blom
Microsoft Word MVP
(Message posted via NNTP)
"trendicoff" wrote in message
...
Stefan,
Thanks, I guess that will save me some time, but as the lists I want to
change and those I don't are interspersed it will still be many steps. Is
there any way to select just tables or just exclude headings?
"Stefan Blom" wrote:
You can use
Selection.Range.ListFormat.ConvertNumbersToText
to convert the numbering in the current selection.
--
Stefan Blom
Microsoft Word MVP
"trendicoff" wrote in message
...
I have a document with lots of different instances of auto-numbering.
I want to hardcode only the auto numbering that is contained in
tables. Is there any way to constrain the ConvertNumbersToText
command to only include or exclude certain items? For instance I know
that the command ActiveDocument.Tables.ConvertNumbersToText is
invalid, but is there any way to make that idea work?
.
|