Reversing All the Paragraphs in a Document

Written by Allen Wyatt (last updated March 9, 2024)
This tip applies to Word 2007, 2010, 2013, 2016, 2019, 2021, and Word in Microsoft 365


Jerry routinely needs to work with long documents (perhaps 30 pages) where he needs to reverse the order of the paragraphs in the document. He wonders if there is a way he can reverse the order of all of the paragraphs easily, such that the last is first and the first last.

If you only need to do this one or two times, the easiest method would be to sort the paragraphs. All you need to do is to make sure that each paragraph begins with a three-digit number, in sequential order. Then, select all the paragraphs and sort them as you would normally sort paragraphs—in descending order—and you'll be all set.

Similar to this approach, you could utilize Excel to help with the sorting. This works well if your paragraphs are fairly short:

  1. Make sure that both Word and Excel are open. Word should contain the document whose paragraphs you want to sort and Excel should contain a blank worksheet.
  2. In Word, press Ctrl+A to select the entire document.
  3. Press Ctrl+C. This copies the paragraphs to the Clipboard.
  4. In Excel, select cell B1.
  5. Press Ctrl+V. This pastes all the paragraphs into column B.
  6. Fill column A with a series of sequential numbers, for as many rows as necessary. Excel offers several ways to do this easily; just make sure that column A contains actual values, and not formulas.
  7. Select cell A1.
  8. Display the Data tab of the ribbon.
  9. Click the down arrow next to the Sort Tool and then click Descending. Excel reorders columns A and B. Your paragraphs are now in reverse order.
  10. Select cell B1.
  11. Press Shift+Ctrl+Down Arrow. All your paragraphs should now be selected.
  12. Press Ctrl+C. This copies the paragraphs to the Clipboard.
  13. Switch back to Word. All the paragraphs in the document should still be selected.
  14. Using Paste Special, choose to paste text only. (If you don't do this, you end up with an Excel table in your document.)

The downside to this approach is that you don't retain any formatting in your text; it is lost in the translation between Excel and Word. If you want to keep the formatting, you need to do the sort in Word (as previously described), or you need to rely on a macro to do the sorting. The macro approach is also a good idea if you regularly need to do this sort of document processing.

Sub ReveresParagraphs()
    Dim J As Long
    Dim Source As Document

    Set Source = ActiveDocument
    Documents.Add
    With Source
        For J = .Paragraphs.Count To 1 Step -1
            .Paragraphs(J).Range.Copy
            Selection.Paste
        Next J
    End With
End Sub

This macro creates a new document and then copies each paragraph in reverse order from the original document to the new document. Any formatting present in the source document should also be copied to the new document.

Note:

If you would like to know how to use the macros described on this page (or on any other page on the WordTips sites), I've prepared a special page that includes helpful information. Click here to open that special page in a new browser tab.

WordTips is your source for cost-effective Microsoft Word training. (Microsoft Word is the most popular word processing software in the world.) This tip (4803) applies to Microsoft Word 2007, 2010, 2013, 2016, 2019, 2021, and Word in Microsoft 365.

Author Bio

Allen Wyatt

With more than 50 non-fiction books and numerous magazine articles to his credit, Allen Wyatt is an internationally recognized author. He is president of Sharon Parq Associates, a computer and publishing services company. ...

MORE FROM ALLEN

Reordering the Display of a Data Series

Once you create a chart, you aren't limited to keeping the data series in the order they originally appeared. You can ...

Discover More

Checkboxes in a Merged Document

When creating a mail-merge document, you may want to include some special characters, such as check-marked boxes, in the ...

Discover More

Watermarks in Excel

Excel is great at printing numbers on a piece of paper, but terrible at printing watermarks. This is apparently by ...

Discover More

Discover the Power of Microsoft Office This beginner-friendly guide reveals the expert tips and strategies you need to skyrocket your productivity and use Office 365 like a pro. Mastering software like Word, Excel, and PowerPoint is essential to be more efficient and advance your career. Simple lessons guide you through every step, providing the knowledge you need to get started. Check out Microsoft Office 365 For Beginners today!

More WordTips (ribbon)

Reducing the Size of Spaces in a Selection

If you want to decrease the size of spaces in some selected text, the best approach is to use a macro. This tip includes ...

Discover More

Occurrences of a Text String within a Document

You may have a need to find out how many times a certain text string occurs within a document. You can find out manually ...

Discover More

Determining the Number of Pages in Your Document

If your macro needs to know how many pages are in your document, you can use the Information method to get the desired ...

Discover More
Subscribe

FREE SERVICE: Get tips like this every week in WordTips, a free productivity newsletter. Enter your address and click "Subscribe."

View most recent newsletter.

Comments

If you would like to add an image to your comment (not an avatar, but an image to help in making the point of your comment), include the characters [{fig}] (all 7 characters, in the sequence shown) in your comment text. You’ll be prompted to upload your image when you submit the comment. Maximum image size is 6Mpixels. Images larger than 600px wide or 1000px tall will be reduced. Up to three images may be included in a comment. All images are subject to review. Commenting privileges may be curtailed if inappropriate images are posted.

What is eight more than 9?

There are currently no comments for this tip. (Be the first to leave your comment—just use the simple form above!)


This Site

Got a version of Word that uses the ribbon interface (Word 2007 or later)? This site is for you! If you use an earlier version of Word, visit our WordTips site focusing on the menu interface.

Videos
Subscribe

FREE SERVICE: Get tips like this every week in WordTips, a free productivity newsletter. Enter your address and click "Subscribe."

(Your e-mail address is not shared with anyone, ever.)

View the most recent newsletter.