L
lyam
My documents are suffering from the numbering bug. I have a style called
"Table List Number" (TLN), which is based on No Style. All new tables restart
at 1 except when they are preceded by a bulleted list (which is based on
List). It would be easy enough to add the listnum field code to the end of
each table were it not for the fact that the documents are generated
automatically (using AuthorIT). This means that any hard-coding is kludged
whenever the documents are regenerated. What I think I need is a macro that
finds the last step in a table and adds the listnum field code to the end of
the step, but I don't know VB well enough to set this up. I think the logic
would be:
Search doc and find TLN
If next para tag is TLN, go there, else go to the end of this TLN and paste
{listnum \l 1\s 0}
Repeat to end of doc
Hoping someone can help me out.
Cheers,
lyam
"Table List Number" (TLN), which is based on No Style. All new tables restart
at 1 except when they are preceded by a bulleted list (which is based on
List). It would be easy enough to add the listnum field code to the end of
each table were it not for the fact that the documents are generated
automatically (using AuthorIT). This means that any hard-coding is kludged
whenever the documents are regenerated. What I think I need is a macro that
finds the last step in a table and adds the listnum field code to the end of
the step, but I don't know VB well enough to set this up. I think the logic
would be:
Search doc and find TLN
If next para tag is TLN, go there, else go to the end of this TLN and paste
{listnum \l 1\s 0}
Repeat to end of doc
Hoping someone can help me out.
Cheers,
lyam