I would like a macro to check the following on the current multipage document:
Check whether ...
... at the end of page 1 a section break exists (either section break 'new page' or section break 'even page').
If none of these type of section breaks exists on page 1 the macro is to say so in a MsgBox and is to exit
If such a section break exists on page 1 the macro is to go on and check whether ...
... at the end of the penultimate page an 'even page' or a 'new page' section break exists.
If neither of these section breaks exist on the penultimate page the macro is to say so in a MsgBox and is to exit.
I have attached a sample for your convenience.
Thank you very much in advance for your professinal help.
Regards, Andreas SectionBreaks-Macro.docx SectionBreaks-Macro.docx