Hi Mathias,
it's only a typo, meant wordDoc.Bookmarks(i)
the error "property or method not found" occurs in line
msgbox bookmark.Name
Regards
Peter
meant
Am 28.08.2014 18:03, schrieb Mathias Röllig:
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
---------------------------------------------------------------------
To unsubscribe, e-mail: api-unsubscr...@openoffice.apache.org
For additional commands, e-mail: api-h...@openoffice.apache.org