Yes, I told you it was a one-time use bookmark and that it needed additional code to work in multiple cases. The purpose of the macro I posted was to show the concept of how you might perform the task.
I assume that when the first paragraph on the page is not a heading then you want the code as provided. If it is a heading then you want to return the level above that. Is that right?
__________________
Andrew Lockton
Chrysalis Design, Melbourne Australia
|