PDA

View Full Version : Section Break Changing to a Page Break During Runtime



Mavila
08-03-2025, 08:46 PM
I'll try this again. I have a macro that creates a book compiled of chapters. Each chapter is a stand alone Word document and each is inserted via VBA code (I forget the syntax right now but I can look it up if that is important). Anyway, each chapter has a Section Break so that headers/footers can be reset/new. I've discovered that during run time, the Section Break switches to a Page Break which screws everything up header/footer wise. It apparently reverts to a Section Break when the macro completes. Anyone run across this before?

June7
08-09-2025, 01:39 AM
Yes, should probably provide your code. Is it anything like https://www.msofficeforums.com/word-vba/27278-combine-multiple-word-files-into-1-document.html

Paul_Hossler
08-16-2025, 01:31 PM
And a sample document