openoffice-api mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Eberlein <pet....@refofd.verwalt-berlin.de>
Subject Re: COM OLE Automation bridge; property Name not supported
Date Fri, 29 Aug 2014 05:57:04 GMT
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-unsubscribe@openoffice.apache.org
> For additional commands, e-mail: api-help@openoffice.apache.org
>


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


Mime
View raw message