Written by Allen Wyatt (last updated October 7, 2021)
This tip applies to Word 97, 2000, 2002, and 2003
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:
Selection.InsertBreak Type:=BreakValue
where BreakValue is one of the following values:
BreakValue | Result | |
---|---|---|
wdPageBreak | Page break | |
wdColumnBreak | Column break | |
wdSectionBreakNextPage | Next-page section break | |
wdSectionBreakContinuous | Continuous section break | |
wdSectionBreakEvenPage | Even-page section break | |
wdSectionBreakOddPage | Odd-page section break | |
wdLineBreak | Line break |
Note:
WordTips is your source for cost-effective Microsoft Word training. (Microsoft Word is the most popular word processing software in the world.) This tip (744) applies to Microsoft Word 97, 2000, 2002, and 2003. You can find a version of this tip for the ribbon interface of Word (Word 2007 and later) here: Inserting a Break with a Macro.
Do More in Less Time! Are you ready to harness the full power of Word 2013 to create professional documents? In this comprehensive guide you'll learn the skills and techniques for efficiently building the documents you need for your professional and your personal life. Check out Word 2013 In Depth today!
If you are formatting your document by using a macro, you may need to make some of your text italics. You do that by ...
Discover MoreGot a macro that processes or uses styles? You definitely need to know how many styles Word has available in the ...
Discover MoreWhen using a macro to process text in a document, it is not unusual to replace one portion of a text string with another ...
Discover MoreFREE SERVICE: Get tips like this every week in WordTips, a free productivity newsletter. Enter your address and click "Subscribe."
2015-10-09 02:02:26
Naresh
Hi,
I would like to insert a page break on a string in MS Word.
For Example, if their is word anywhere in a Page like test, then it should be replaced with page break.
It should check all the page and insert the page where ever the word exists.
Please give me your suggestion to resolve this issue.
Thanks,
Naresh
Got a version of Word that uses the menu interface (Word 97, Word 2000, Word 2002, or Word 2003)? This site is for you! If you use a later version of Word, visit our WordTips site focusing on the ribbon interface.
Visit the WordTips channel on YouTube
FREE SERVICE: Get tips like this every week in WordTips, a free productivity newsletter. Enter your address and click "Subscribe."
Copyright © 2025 Sharon Parq Associates, Inc.
Comments