View Single Post
 
Old 01-04-2018, 08:14 AM
wolfer wolfer is offline Windows 7 64bit Office 2003
Novice
 
Join Date: Aug 2011
Posts: 3
wolfer is on a distinguished road
Default 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
Reply With Quote