It worked like a charm. I really appreciate your help.
Believe it or not, my boss told me to include a new part in the document named PROPOSITURAS RESPONDIDAS, and this one is being affected by the script.
Right after 'PROPOSITURAS RESPONDIDAS' every block of text to be merged begins with either of the following:
'Do Vereador XXX:' / 'Dos Vereadores XXX, YYY e ZZZ:' /
'Da Vereadora XXX:' / 'Das Vereadoras XXX, YYY e ZZZ:' /
'Do Vereador XXX e Da Vereadora XXX:' /
'Dos Vereadores XXX, YYY e ZZZ e Das Vereadora XXX, YYY e ZZZ:'
Then there may be either of the following:
Indicação nº / Indicações nºs
Requerimento nº / Requerimentos nºs
Moção nº / Moções nºs
Ofício de Gabinete nº / Ofícios de Gabinete nºs
Note that a semicolon must be inserted to separate each series of Indicações / Requerimentos / Moções / Ofícios de Gabinete
Example files attached.
Thanks again.
|