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

Arranging Document Windows

Specifying a Backup Location

Controlling Chart Gridlines

Merging Table Cells

Collapsing and Expanding Subdocuments

Zooming With the Keyboard

Initiating a New Search

 

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

Take Control! Master the real power behind Word! Successfully master the secrets of powerful formatting and create documents that stand out from the rest. Best of all, you can create documents that are easy to maintain and quick to change.
 
Check out Word 2007 Styles and Templates today!