Dear all,
I'm using Word 2003, I would like to create a toolbar that has links that
can take me to specific tables in my document. is it possible ?
It's possible, but not particularly easy. First, you would have to put bookmarks
at the places you want to jump to (presumably either the first or last cell of
the table).
To do what you ask literally, you'd then have to record or write a macro that
goes to the bookmark, something like this:
Sub GoBk1()
Selection.GoTo What:=wdGoToBookmark, Name:="bk1"
End Sub
Make a macro for each bookmark, changing only the macro name and the bookmark
name. Then create a new toolbar, and add a button to run each macro.
This scheme can be simplified a bit if you use VBA to assign the .Tag property
of each button to hold the corresponding bookmark name. Then you can have only
one macro, with all the buttons pointing to the same macro; the code gets the
..Tag value of the button that was clicked and uses that in the GoTo statement.
I think all of this is too much work. Instead, once the bookmarks are in place,
just use the GoTo command (Ctrl+G or Edit > GoTo), click Bookmark in the list on
the left, and choose (or type) the bookmark name in the dropdown on the right.