Section Break (Continuous) counted as Section Break (Next page)
I have a word document consisting of sections: continuous or next page. I want to print a selected section or sections (next page) from an Excel sheet. I use the following statement to identify a section break (next page) from a section break (continuous)
objDoc.Sections(j + mm).PageSetup.SectionStart = WdSectionStart.wdSectionNewPage
Most of the time, this works; however, in one case, a section break (continuous) was taken as a section break (next page).
Can any one, please, give any hint?
Thanks
|