Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to delete blank page between Word subdocs?

Status
Not open for further replies.

alexjones

Programmer
Jul 27, 2001
132
US
I am creating a custom report using a set of subdocuments. The subdocuments are selected based on responses to a questionnaire. The subdocuments have section break set to continuous. As I add them programmatically to the master document's Subdocuments collection, a blank page is created between the sections.

Can anyone provide a bit of code to delete these unwanted blank pages? I'm working in C# with a wrapped Word dll, but I can adapt suggestions in any language.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top