Display subaddress in Word document

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have a hyperlink field 'DocPath' which contains the full path to a Word
document with a Browse button to populate it. This part works fine. Now I
want to open the document then

1. check whether the bookmark 'KeyFindings' has been set
2. If it has jump to the bookmark else
3. Search for the Heading 'Key Findings', bookmark it & then display it.

To slightly complicate matters the bookmark is inconsistently set across
200+ documents. If present it is one of two HIDDEN bookmarks, say, _Toc1234
or _Toc9876 and we want to set any undefined bookmarks when the Heading is
found to 'KeyFindings'

I would appreciate a pointer to any article(s) and/or code snippet(s) which
would get me started
Thanks
Terry
 
Back
Top