Graham,
Thanks for the reply.
I was able to install the macros in the document. I see that the code works but it only works if I run it when I am in that specific heading. For example, if I want to copy the text under Heading 5 then I have to go to Heading 5 in the document (which could be in page 7) and then run the macro.
But instead can the code be tweaked so that I can copy the text under Heading 5 from the index page itself instead of having to scroll down to heading 5?
|