Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
![]()
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? |
#2
![]()
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
![]()
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? |
#3
![]()
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
![]() 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? |
#4
![]()
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
![]()
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? . |
#5
![]()
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
![]()
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? . |
#6
![]()
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
![]()
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? . |
#7
![]()
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
![]() 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? . |
Reply |
Thread Tools | |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Any way to limit ConvertNumbersToText | Microsoft Word Help | |||
how do you protect only parts of a document? | Microsoft Word Help | |||
ConvertNumbersToText doesn't quite | Microsoft Word Help | |||
Limiting Editing on Document | Microsoft Word Help | |||
Limiting number of lines of unprotected text in a document | Microsoft Word Help |