Microsoft KB Archive/40750

Search and Replace Page and Section Breaks

PSS ID Number: Q40750 Article last modified on 03-07-1997

=
========================================================= 3.00 3.01 3.02 4.00 MACINTOSH kbusage SUMMARY ======= ———————————————————————- The information in this article applies to:

 == Microsoft Word for the Macintosh, versions 3.0, 3.01, 3.02, 4.0 == 

In Microsoft Word, if the Change command (on the Utilities menu in Word 4.00; Search menu in Word 3.0x) is used to replace a page break with a section break, a page break will appear instead of a section break. This problem occurs because both section breaks and page breaks have the same ASCII value (12); they also share the same special search code (^d). To replace a page break with a section break, do the following:


 * 1) Highlight the section break.
 * 2) From the Edit menu, choose Copy. Word copies the section break into the Clipboard.
 * 3) From the Utilities menu, choose Change (in Word 3.0x, Change is on the Search menu).
 * 4) In the Find What box, type “^12” (press SHIFT+6, then type “12” without the quotation marks) or “^d” (press SHIFT+6, then type lowercase “d” without the quotation marks). These characters will cause Word to find all page breaks and section breaks occurring in the document.
 * 5) In the Change To box, type “^c” (without the quotation marks). This special code stands for the contents of the Clipboard, which in this case is the section break.
 * 6) Click the Change All button to replace all occurrences of page breaks (and existing section breaks) with section breaks.

= MORE INFORMATION =

To find the ASCII value of a character in Word, do the following:


 * 1) Highlight the character.
 * 2) Press COMMAND+OPTION+Q. The code appears in the lower-left corner of the screen.

KBCategory: kbusage KBSubCategory: Additional reference words: macword macword5 ====================================================================== ============================================================================= Copyright Microsoft Corporation 1997.