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: Inserting a Break with a Macro.
by Allen Wyatt
(last updated October 19, 2013)
You know how to insert breaks in your text manually, but you can also do the same thing under control of your macro. The InsertBreak method inserts any type of break in your document. The syntax is:
where BreakValue is one of the following values:
|wdSectionBreakNextPage||Next-page section break|
|wdSectionBreakContinuous||Continuous section break|
|wdSectionBreakEvenPage||Even-page section break|
|wdSectionBreakOddPage||Odd-page section break|
WordTips is your source for cost-effective Microsoft Word training. (Microsoft Word is the most popular word processing software in the world.) This tip (12689) applies to Microsoft Word 2007, 2010, and 2013. You can find a version of this tip for the older menu interface of Word here: Inserting a Break with a Macro.
The First and Last Word on Word! Bestselling For Dummies author Dan Gookin puts his usual fun and friendly candor back to work to show you how to navigate Word 2013. Spend more time working and less time trying to figure it all out! Check out Word 2013 For Dummies today!
When processing a document using a macro, you may need to know if the insertion point is within a bookmark or not. This is ...Discover More
When working with macros, you may want to create a variable that will remain constant from one instance of the macro to ...Discover More
When processing a document with a macro, you may need to have the macro repaginate the text. It's easy to do using the ...Discover More