Where in the code am I deleteing the Section Break(Next Page)?
When I insert my report into the document, I am inserting a Section Break(Continuous) then inserting my report then inserting another Section Break(Continuous). Then I protect the report I inserted by protecting the section it is in.
That works fine. Now if I remove the section that contains the report it removes the new section I inserted but also converts the Section Break(Next Page) to a Section Break(Continuous).
I do not see in the snippet why it is doing that. Where in the snippet that deletes the section that has my report do I put the new code that stores the Section Break type in the previous section and puts it back when finished. I'm sorry but I guess I am too inexperienced to see where I should do that in the "GetAndRemoveSectionByInstanceNumber" sub-routine.
|