Group:  Microsoft Word ยป microsoft.public.word.customization.menustoolbars
Thread: Quickly go from bookmark to bookmark

Quickly go from bookmark to bookmark
"Rich Mogy" <rmogy[ at ]sbcglobal.net> 11/14/2008 4:32:12 PM
I am in the process of creating a document that will have one page for each
client and the sales person will make notes on specific pages, which I will
mark with a bookmark and create a bookmark list.

Is it possible to change the functionality of the page down key to go to the
next page with a book mark rather than just page down a screen, and if so,
how?

Thanks

Rich Mogy

Re: Quickly go from bookmark to bookmark
Jay Freedman <jay.freedman[ at ]verizon.net> 11/14/2008 6:12:11 PM
On Fri, 14 Nov 2008 08:32:12 -0800, "Rich Mogy" <rmogy[ at ]sbcglobal.net> wrote:

[Quoted Text]
>I am in the process of creating a document that will have one page for each
>client and the sales person will make notes on specific pages, which I will
>mark with a bookmark and create a bookmark list.
>
>Is it possible to change the functionality of the page down key to go to the
>next page with a book mark rather than just page down a screen, and if so,
>how?
>
>Thanks
>
>Rich Mogy

If you use the GoTo dialog (Ctrl+G) and select a bookmark to go to, Word
automatically changes the "browse target" so the double up and down arrows at
the bottom of the vertical scroll bar (and their keyboard shortcuts, Ctrl+PageUp
and Ctrl+PageDown) go to the previous and next bookmarks.

To change the browse target to any of the other available types, click the
circle button between the double arrows and choose from the flyout menu.

It's also possible to change the keyboard shortcut assigned to this function. In
the Tools > Customize > Keyboard dialog, choose the Edit category and change or
add the shortcuts for the BrowseNext and BrowsePrev commands.

--
Regards,
Jay Freedman
Microsoft Word MVP FAQ: http://word.mvps.org
Email cannot be acknowledged; please post all follow-ups to the newsgroup so all may benefit.
Re: Quickly go from bookmark to bookmark
"Rich Mogy" <rmogy[ at ]sbcglobal.net> 11/14/2008 6:25:15 PM
Thanks Jay, but I'm interested in creating code so my lazy users can do this
without "all that overhead" -- just hit the PgDn key.
"Jay Freedman" <jay.freedman[ at ]verizon.net> wrote in message
news:lecrh4lf3slhpe3lk7fashggtilfg14gvo[ at ]4ax.com...
[Quoted Text]
> On Fri, 14 Nov 2008 08:32:12 -0800, "Rich Mogy" <rmogy[ at ]sbcglobal.net>
> wrote:
>
>>I am in the process of creating a document that will have one page for
>>each
>>client and the sales person will make notes on specific pages, which I
>>will
>>mark with a bookmark and create a bookmark list.
>>
>>Is it possible to change the functionality of the page down key to go to
>>the
>>next page with a book mark rather than just page down a screen, and if so,
>>how?
>>
>>Thanks
>>
>>Rich Mogy
>
> If you use the GoTo dialog (Ctrl+G) and select a bookmark to go to, Word
> automatically changes the "browse target" so the double up and down arrows
> at
> the bottom of the vertical scroll bar (and their keyboard shortcuts,
> Ctrl+PageUp
> and Ctrl+PageDown) go to the previous and next bookmarks.
>
> To change the browse target to any of the other available types, click the
> circle button between the double arrows and choose from the flyout menu.
>
> It's also possible to change the keyboard shortcut assigned to this
> function. In
> the Tools > Customize > Keyboard dialog, choose the Edit category and
> change or
> add the shortcuts for the BrowseNext and BrowsePrev commands.
>
> --
> Regards,
> Jay Freedman
> Microsoft Word MVP FAQ: http://word.mvps.org
> Email cannot be acknowledged; please post all follow-ups to the newsgroup
> so all may benefit.

Re: Quickly go from bookmark to bookmark
Jay Freedman <jay.freedman[ at ]verizon.net> 11/14/2008 10:09:07 PM
I'm sorry, but Word doesn't quite have the tools to do that.

You can use code to assign the PgDn key to the BrowseNext command:

Sub PgDnToBrowseNext()
Dim myKB As KeyBinding

' set keybinding of PgDn to BrowseNext
CustomizationContext = NormalTemplate
Set myKB = FindKey(KeyCode:=wdKeyPageDown)
myKB.Rebind KeyCategory:=wdKeyCategoryCommand, _
Command:="BrowseNext"

Application.Browser.Target = wdBrowseGoTo
End Sub

But this has two drawbacks:

(1) I don't see any way in code to simulate the selection of bookmarks in the
GoTo dialog; by default the selection is "Page". I tried the hack of using the
SendKeys command to try to push keystrokes into the dialog, but it doesn't work.
The overall effect is that there's no change in behavior, unless the user
manually goes through the GoTo dialog and selects something else.

(2) Even if the user cooperates on point 1, as soon as the user does a Find or
selects one of the other browse targets the PgDn keystroke will start executing
that browse instead of the bookmarks. It seems to me this would be even more
confusing than Word's usual chaos.

On Fri, 14 Nov 2008 10:25:15 -0800, "Rich Mogy" <rmogy[ at ]sbcglobal.net> wrote:

[Quoted Text]
>Thanks Jay, but I'm interested in creating code so my lazy users can do this
>without "all that overhead" -- just hit the PgDn key.
>"Jay Freedman" <jay.freedman[ at ]verizon.net> wrote in message
>news:lecrh4lf3slhpe3lk7fashggtilfg14gvo[ at ]4ax.com...
>> On Fri, 14 Nov 2008 08:32:12 -0800, "Rich Mogy" <rmogy[ at ]sbcglobal.net>
>> wrote:
>>
>>>I am in the process of creating a document that will have one page for
>>>each
>>>client and the sales person will make notes on specific pages, which I
>>>will
>>>mark with a bookmark and create a bookmark list.
>>>
>>>Is it possible to change the functionality of the page down key to go to
>>>the
>>>next page with a book mark rather than just page down a screen, and if so,
>>>how?
>>>
>>>Thanks
>>>
>>>Rich Mogy
>>
>> If you use the GoTo dialog (Ctrl+G) and select a bookmark to go to, Word
>> automatically changes the "browse target" so the double up and down arrows
>> at
>> the bottom of the vertical scroll bar (and their keyboard shortcuts,
>> Ctrl+PageUp
>> and Ctrl+PageDown) go to the previous and next bookmarks.
>>
>> To change the browse target to any of the other available types, click the
>> circle button between the double arrows and choose from the flyout menu.
>>
>> It's also possible to change the keyboard shortcut assigned to this
>> function. In
>> the Tools > Customize > Keyboard dialog, choose the Edit category and
>> change or
>> add the shortcuts for the BrowseNext and BrowsePrev commands.
>>
>> --
>> Regards,
>> Jay Freedman
>> Microsoft Word MVP FAQ: http://word.mvps.org
>> Email cannot be acknowledged; please post all follow-ups to the newsgroup
>> so all may benefit.

Home | Search | Terms | Imprint
Newsgroups Reader