Results 1 to 2 of 2

Thread: Section Break Changing to a Page Break During Runtime

  1. #1
    VBAX Contributor
    Joined
    Aug 2012
    Posts
    122
    Location

    Section Break Changing to a Page Break During Runtime

    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?

  2. #2
    VBAX Mentor
    Joined
    Nov 2022
    Location
    The Great Land
    Posts
    450
    Location
    Yes, should probably provide your code. Is it anything like https://www.msofficeforums.com/word-...-document.html
    How to attach file: Reading and Posting Messages (vbaexpress.com), click Go Advanced below post edit window. To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •