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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to