Microsoft KB Archive/57760
Word: How to Remove Carriage Returns from Imported Text PSS ID Number: Q57760 Article last modified on 08-17-1993 PSS database name: APpsConV
3.00 3.01 3.02 4.00
Text imported from other systems may contain hard carriage returns at the end of each line. Using the Change command of Word, it is possible to strip these characters and still preserve paragraph structure. To do this using Word, do the following:
- Place the cursor at the beginning of the document (or select the designated text block).
- From the Utilities menu, choose Change.
- Type pp (SHIFT+6 P, SHIFT+6 P) in the Find What box and XXXX (or any other unique set of characters) in the Change To box.
- Click Change All or Change Selection as appropriate. Save.
- Choose the Change command again. Enter ^p in the Find What box and press the SPACEBAR in the Change To box. Click Change All or Change Selection as appropriate. Save.
- Reactivate Change. Enter XXXX (or whatever unique set of characters you used in step 3) in the Find What box. Enter ^p in the Change To box. Click Change All or Change Selection as appropriate. Save.
For more information on using the Find and Change commands, see pages 57-61 in “Reference to Microsoft Word” for version 4.0 or pages 46-52 in “Reference to Microsoft Word” for version 3.0.
Please note that this procedure is not necessary with Word 5.0. Word 5.0 will use the Text with Layout Converter to open the document without the hard returns at the end of each line.
Additional reference words: Find DOS Wang MS-DOS 3.00 3.01 3.02 4.00 5.00
Copyright Microsoft Corporation 1993.