R
Roderick O'Regan
I have a template from my client which uses Heading 1, 2, 3 in their
text and they are used in the document's TOC.
They now want to give this template to their Lisbon office who are
using the Portuguese version of Word.
When that version of Word gets hold of the in-built style headings, it
will automatically change these to "Titulo 1", 2, 3, etc.
In my template modules I have a line of code which applies Heading 1
to a selection as follows:
Selection.Style = ActiveDocument.Styles("Heading 1")
Is there a way I can say something like:
If Heading 1 exisits in the template styles then apply it.
Otherwise see if it has changed to "Titulo 1" and apply that one?
Thanks
Roderick
text and they are used in the document's TOC.
They now want to give this template to their Lisbon office who are
using the Portuguese version of Word.
When that version of Word gets hold of the in-built style headings, it
will automatically change these to "Titulo 1", 2, 3, etc.
In my template modules I have a line of code which applies Heading 1
to a selection as follows:
Selection.Style = ActiveDocument.Styles("Heading 1")
Is there a way I can say something like:
If Heading 1 exisits in the template styles then apply it.
Otherwise see if it has changed to "Titulo 1" and apply that one?
Thanks
Roderick