D
dave.cuthill
I am building a macro that allows a page to be inserted at the end of
the currently select page. Depending on some selections made on a user
form the break may be either a page break or nextpagesection break.
If I insert a nextpage section break all is well and this works fine.
The problem I am having is I need to determine if the page after the
newly inserted page has a page break or a section break at the end of
it in order to determine whether the newly inserted page should have a
section break or page break at its end.
I hope this isn't to confusing
David
the currently select page. Depending on some selections made on a user
form the break may be either a page break or nextpagesection break.
If I insert a nextpage section break all is well and this works fine.
The problem I am having is I need to determine if the page after the
newly inserted page has a page break or a section break at the end of
it in order to determine whether the newly inserted page should have a
section break or page break at its end.
I hope this isn't to confusing
David