Questions and answers
278
How can I improve the layout of some text that I have imported into Word which has carriage returns at the end of each line?
If you simply replaced every return with a space or nothing, you would end up with the entire document as one paragraph. Instead you need to carry out a sequence of Find and Replace commands, as follows:
Microsoft Office 2016
- From the ÌìÃÀ´«Ã½Ó°ÊÓ tab, Editing Group, choose Replace.
- In the Find What box, type ^p^p (this stands for two consecutive paragraph marks)
- In the Replace With box type {} (or anything that is not already in the document).
- Click on Replace All so that every double paragraph mark is replaced with {}.
- Position the cursor back in the Find What box, and enter ^p (single paragraph mark).
- In the Replace With box, enter a single space.
- Click on Replace All - all single paragraph marks are changed to a space.
- In the Find What box, type {}.
- In the Replace With box, type ^p^p.
- Click on Replace All - the double paragraph marks are put back.
- In the Find What box, enter two spaces.
- In the Replace With box, enter one space.
- Click on Replace All - double spaces are changed to single spaces.
Your document should now look as it would if it had been typed into Word.
Help us to improve this answer
Please suggest an improvement
(login needed, link opens in new window)
Your views are welcome and will help other readers of this page.
Categories
This is question number 278, which appears in the following categories: