Welcome toWord.Tips.Net
Ask a Word Question
Make a Comment
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
Collapsing and Expanding Subdocuments
Nancy uses the Object Browser to look for items in her document, but she gets a bit frustrated with it. When she first starts Word, Ctrl+Page Up jumps up by a page at a time. This happens because the Object Browser is set to browse by page. But if she searches for text and finds it, the Object Brower is then set to browse by whatever she last searched for. This means that Ctrl+Page Up no longer jumps up by a page, but searches for the previous occurrence of the search text. Nancy wonders if there is, perhaps, a way to force the Object Browser to always search for the previous page.
There is no capability to do this in Word. This is because Ctrl+Page Up (and Ctrl+Page Down) aren't really shortcuts to jump to the previous or next page; they are shortcuts to invoke the Browse Previous and Browse Next commands. This means that they are the same as clicking on the previous and next controls in the Object Browser, at the lower-right of any document window.
You can, however, get around this problem by adding two macros to your system. These macros replace the built-in commands that are invoked when you use the previous and next commands in the Object Browser.
Sub BrowsePrev()
Application.Browser.Target = wdBrowsePage
Application.Browser.Previous
End Sub
Sub BrowseNext()
Application.Browser.Target = wdBrowsePage
Application.Browser.Next
End Sub
Note that these macros cause the Object Browser to revert to browsing by page instead of whatever had been previously selected. The drawback to this approach, however, is that you won't ever be able to use the Object Browser to browse for anything other than pages.
Tip #495 applies to Microsoft Word versions: 97 2000 2002 2003 2007
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.