Please Note: This article is written for users of the following Microsoft Word versions: 2007, 2010, and 2013. If you are using an earlier version (Word 2003 or earlier), this tip may not work for you. For a version of this tip written specifically for earlier versions of Word, click here: Transposing Two Paragraphs.
by Allen Wyatt
(last updated November 27, 2014)
As you are developing a document, there may be times when you want to transpose two adjacent paragraphs. All you need to do is position the insertion point between two paragraphs you want to transpose, and then issue the macro in this tip. If you position the cursor inside a paragraph, it assumes you want to transpose the current paragraph with the following. This macro, TransposeParagraphs, will do the trick:
Sub TransposeParagraphs() Selection.MoveUp Unit:=wdParagraph, _ Count:=1, Extend:=wdExtend Selection.MoveLeft Unit:=wdCharacter, Count:=1 Selection.MoveDown Unit:=wdParagraph, _ Count:=1, Extend:=wdExtend Selection.Range.Cut Selection.MoveDown Unit:=wdParagraph, Count:=1 Selection.Range.Paste End Sub
WordTips is your source for cost-effective Microsoft Word training. (Microsoft Word is the most popular word processing software in the world.) This tip (9142) applies to Microsoft Word 2007, 2010, and 2013. You can find a version of this tip for the older menu interface of Word here: Transposing Two Paragraphs.
Comprehensive VBA Guide Visual Basic for Applications (VBA) is the language used for writing macros in all Office programs. This complete guide shows both professionals and novices how to master VBA in order to customize the entire Office suite for their needs. Check out Mastering VBA for Office 2010 today!
Got a document layout that requires a portion of the page to be in one layout and another portion to be in a different ...Discover More
Selecting text is a critical skill to possess when you want to work with a Word document. This tip explains how you can ...Discover More
One of the most helpful tools in Word is the ability to paste straight text into a document. This is used so much on my ...Discover More
FREE SERVICE: Get tips like this every week in WordTips, a free productivity newsletter. Enter your address and click "Subscribe."
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.