I ran the code from your post with my data and the headers were preserved.Originally Posted by Zack
The problem is your's. As I said:
As far as I am concerned, you're a waste of time. Aside from anything else, we've at least proved that your previous post about:When I use it, even on a document that already has two or more Sections, the newly-inserted Section 2's content is completely independent of the Sections before and after. All of the preceding and following content is preserved.
was indeed crap. The code works for everything you have specified - and more. I'm done with this.obligated to .InsertFile method for the reasons which I am not allowed to talk about