Parse bookmarks in a word document

  • Thread starter Thread starter Mike Fellows
  • Start date Start date
M

Mike Fellows

Hi,

I am trying to parse a word document to get a list of all the bookmarks that
are setup within the document

I need to be able to parse the bookmarks though without knowing the bookmark
name

Thanks in advance

Mike Fellows
 
I don't do much programming with Word so this is more of a guess than a
fact. But if bookmarks is an object you might be able to do something
like this:

<pseudocode>

Dim bm as Word.BookMark

For each bm in ActiveDocument
' do whatever
Next

</pseudocode>

That should get you started.

Thanks,

Seth Rowe
 
Back
Top