I am trying to add documents to a existing word document. So i use sectionbreak.
winapp.selection.insertbreak wdsectionbreaknextpage.
but this sometime inserts wdsectionbreakcontinuous. How to fix it???
Printable View
I am trying to add documents to a existing word document. So i use sectionbreak.
winapp.selection.insertbreak wdsectionbreaknextpage.
but this sometime inserts wdsectionbreakcontinuous. How to fix it???
Shouldn't be possible. Check your code. And check that the constant for wdsectionbreaknextpage is returning the correct value.
i have cleared mentioned to insert wdSectionBreakNextPage. But for some documents it inserts SectionBreakContiuous.