story ranges

L

Larry

I have a macro that lets a user find the next bookmark. The macro
selects the range of the bookmark, so that the next time the 'next
bookmark' button is pushed, the search starts from the position of the
previous bookmark.

But this technique fails if the next bookmark is in a different story
range. I feel as though I should be able to use .nextstoryrange to
shift focus to the next story range when I've run out of bookmarks in
the current one. But the examples about .nextstoryrange (that I'm able
to find) all assume that I want to run through all the story ranges in
one go. I don't want to do that; I just need to switch to another
story range if I throw an error when trying to select a bookmark
that's not in the current story range.

Can anyone help me out on this one? Thanks
---larry
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top