Hi Peter!

If you using the right syntax (I don't know):

For i = 1 To wordDoc.Bookmarks.Count
               ^^^^^^^
     bookmark = doc.Bookmarks(i)
                  ^^^
     msgbox bookmark.Name 'fails
'yes, it must
'Option Explicit enabled?

Regards, Mathias

---------------------------------------------------------------------
To unsubscribe, e-mail: api-unsubscr...@openoffice.apache.org
For additional commands, e-mail: api-h...@openoffice.apache.org

Reply via email to