bottom
Great WordTips!
         
Your e-mail address is safe!
Close Note

Tips.Net > WordTips Home > Macros > WordBasic Examples > Jumping to the Top of a Page wth WordBasic

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


Create and Merge! Using Word's mail merge tool you can quickly and easily combine data from a variety of data sources to create great individualized documents that incorporate your data in ways that you control. WordTips: Mail Merge Magic is an invaluable source for learning how to harness the full power of Word's mail merging capabilities.
 
Check out WordTips: Mail Merge Magic today!

Helpful Links

Ask a Word Question
Make a Comment

Tips.Net Home
Tips.Net Store

WordTips FAQ
WordTips Premium

Learn Access Now

Beauty Tips
Bugs and Pests Tips
Car Tips
Cleaning Tips
College Tips
Cooking Tips
Excel2007 Tips
ExcelTips
Family Tips
Gardening Tips
Health Tips
Home Tips
Money Tips
Organizing Tips
Pet Tips
Word2007 Tips
WordTips

Advertise on the
WordTips Site

 

Great Info!

Get tips like this every week in WordTips, a free productivity newsletter. Enter your e-mail address and click "Subscribe."
     
(Your e-mail address will never be shared with anyone, ever.)