Re: COM OLE Automation bridge; property Name not supported

2014-08-28 Thread 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

Re: COM OLE Automation bridge; property Name not supported

2014-08-28 Thread Peter Eberlein
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