Contact Us

If you still have questions or prefer to get help directly from an agent, please submit a request.
We’ll get back to you as soon as possible.

Please fill out the contact form below and we will reply as soon as possible.

  • Contact Us
  • Home
  • The Community Treasure Chest
  • Tidbits That Can Improve Your Experience

Dealing with Lists That Need Section Breaks

Written by Service Desk

Updated at October 12th, 2022

Contact Us

If you still have questions or prefer to get help directly from an agent, please submit a request.
We’ll get back to you as soon as possible.

Please fill out the contact form below and we will reply as soon as possible.

  • Introductions to our Software
  • The Learning Curve, Three Training Courses
    The Readers' Digest Condensed Version In the Beginning, The Lesson Plan #1 The Lesson Plan, The Lesson Plan #2 The Learning Curve Basics, #1 The Learning Curve Intermediate Level, #2 The Learning Curve Advanced Level, #3
  • Installations and Emergencies!
    Installation Instructions Network, Unusual, Troubled, or Manual Installations Emergencies — What to do when things turn hot
  • Videos: Deep Dives on Specific Features
    Form Sets Doxserá DB and Its External Sources
  • Doxserá DB Library
    Doxserá DB, What can it do? Doxserá DB, How does it work? Doxserá DB, In-depth features and functions
  • Resource Library
    Guides and Manuals Video demonstrations of the Lessons in the Expert Guide Organizing Files, Folders, Documents, Templates… and Your Life Converting WordPerfect to Word
  • The Community Treasure Chest
    Truly Complex Roles Complex Math and Date Formulae Tidbits That Can Improve Your Experience Company Organization and Formation Oklahoma Dissolution Form Examples Sources: Master Lists, Spreadsheets, and other data sources Little Tools
  • Aurora
  • Word Warriors®
    About Micrsoft Word Tips & Tricks
  • News and Updates
    Staying up to date Current Versions of Our Software Updates for Doxserá and TheFormTool Archives
  • More
    All Things Mac, Linux, Tablets, and Other Items Miscellaneous Feature Requests
+ More

Every once in a long while there's a need for a List where each item has its own Word Section. The most common reason is for page numbering that starts from "-1-" each time. While Word allows a pagination restart with each Section, managing Sections is difficult; managing Sections in Lists is almost impossible. We've added List/Section functionality to our to-do wishlist for development, but in the meantime, here is a cool workaround.

After Filling the form, replace each hard page break with a section break. Rather than find and replace each one manually, it would be nice to use search-and-replace. Unfortunately, though Word's search-and-replace feature allows searching for hard page breaks and section breaks, and allows replacing with hard page breaks, it DOES NOT allow replacing with section breaks. You could (a) create a section break, (b) copy the section break, and (c) use search-and-replace to search for page breaks and replace with clipboard contents. But that's a big hassle too. So we wrote a macro that automates the whole thing:

Sub PBtoSB() 'replaces Page Breaks with Section Breaks    

Selection.Find.ClearFormatting

 With Selection.Find

.Text = “^m”

.Replacement.Text = “”

.Forward = True

.Wrap = wdFindContinue

.Format = False

.MatchCase = False

.MatchWholeWord = False

.MatchWildcards = False

.MatchSoundsLike = False

.MatchAllWordForms = False

End With

Selection.Find.Execute

Do While Selection.Find.Found

Selection.Delete Unit:=wdCharacter, Count:=1

Selection.InsertBreak Type:=wdSectionBreakNextPage

Selection.Delete Unit:=wdCharacter, Count:=1

Selection.Find.Execute

Loop

End Sub

If your form contains some hard page breaks that need to REMAIN hard page breaks, and others that need to be replaced by section breaks, you would (a) instead of using hard page breaks, indicate the section break locations with some distinctive text like "[put section break here]", and (b) alter the macro to search for that distinctive text instead of searching for hard page breaks.

 

That macro is contained in the attached document, along with instructions on how to copy it to your computer and assign it to a button. That still leaves you with a two-step process, but gets the job done with one extra click: Fill the form, then run the macro.

Was this article helpful?

Yes
No
Give feedback about this article

Related Articles

  • How to Count all the Fields, Lists, or Conditions in Your Form
  • A Solution for Successors
  • How to create a list of all the variables in your Form
Recent posts
  • Multi-Party, Multi-Role Decisioning
  • The Fastest Training
  • Inflation is Going to Grow, a Lot
  • The lowest-hanging fruit
  • Technical tidbits from TheFormTool, LLC
  • Improving Your Firm’s Support Structure
  • The Knowledge Base
Request for information

Submit

Recent Tweets
  • While TheFormTool remains amazingly easy to use, it's fully capable of managing truly complex document assembly nee… https://t.co/DHPPwcNv1M 6 days ago
  • It was in January 2021, that we first forecast massive inflation was coming our way. Whether it is called “quantita… https://t.co/Ab3MV1SLQz 26 days ago
  • Low-hanging fruit: the most often used features of document assembly systems. Automatically: perfect pronouns and p… https://t.co/A5rg6zRSd8 200 days ago
Copyright ©2012-2022 TheFormTool, LLC. All rights reserved.

Knowledge Base Software powered by Helpjuice

  • Home
  • Contact Us
  • Privacy
  • TheFormTool User License
  • Site Map
——— bottom-nav
Expand