Word.Tips.Net Welcome toWord.Tips.Net

Helpful Links

Tips.Net Home
WordTips Home

Ask a Word Question
Make a Comment

Tips.Net Store

WordTips FAQ
WordTips Premium

Learn Access Now
Free Printable Forms

Beauty Tips
Car Tips
Cleaning Tips
College Tips
Cooking Tips
Excel2007 Tips
ExcelTips
Family Tips
Gardening Tips
Health Tips
Home Tips
Legal Tips
Money Tips
Organizing Tips
Pest Tips
Pet Tips
Wedding Tips
Word2007 Tips
WordTips

Advertise on the
WordTips Site

Newest Tips

Setting Fraction Bar Overhang Spacing in the Equation Editor

Printing On Both Sides of the Paper

Turning Off AutoComplete for Dates

Ordering Search and Replace

Understanding Auto Line Spacing

Adding Comments to Your Document

Conditional Calculations in Word

 

Jumping to the Top of a Page wth WordBasic

Summary: How to move the selection pointer to the top of the current page in a WordBasic macro. (This tip works with Microsoft Word 6, and Word 95.)

Word doesn't have a built-in command to jump to the top of the current (or next) page. Instead, Word expects you to use the Go To command to make those sort of jumps. (Just press F5, select Page, then click on Next or Previous.) If you need to jump to the top of the current page quite often, this approach can quickly become tedious. Sounds like a perfect opportunity to use a macro!

The following WordBasic macro jumps to the top of the current page:

Sub MAIN
    EditGoto "-"
End Sub

If you need to jump forward, replace the minus sign (within the quote marks) with a plus sign. Once the macro is created, you can assign it to a keyboard shortcut, or you can design a toolbar button to utilize it.

Tip #741 applies to Microsoft Word versions: 6 | 95

Step Up and Take Control! Subscribers to WordTips know just how valuable a resource it is. WordTips Premium provides twice the number of exceptional, easy-to-understand tips every week in an ad-free newsletter, as well as substantial discounts on WordTips archives and e-books.
 
Check out WordTips Premium today!