Re: Filling Word with OLE2
- From: "Marino Ljubic" <mljubic@xxxxxxxxxxxx>
- Date: Wed, 21 Jun 2006 10:49:54 +0200
<bruin.arjan@xxxxxxxxx> wrote in message
news:1150817275.304538.228280@xxxxxxxxxxxxxxxxxxxxxxxxxxxx
Is there anyone who can tell me how to go to the next bookmark within
a word document?
I tried many things like:
OLE2.INVOKE(workbook,'NextBookmark');
or
OLE2.INVOKE(workbook,'GoToNextBookmark');
or
OLE2.INVOKE(workbook,'Edit.NextBookmark');
and so on. Is there any method to do so with OLE2?
In Visual Basic NextBookmark() is an existing method, so I thought it
should work.
Any thoughts?
I don't see NextBookmark method nowhere in MS Word object model. But what I
found is GoToNext method of Selection object. Use argument list in
OLE2.INVOKE, you must send numeric value of wdGoToBookmark constant, which
is -1. It should be piece of cake.
.
- References:
- Filling Word with OLE2
- From: bruin . arjan
- Re: Filling Word with OLE2
- From: bruin . arjan
- Filling Word with OLE2
- Prev by Date: Re: I can't find a SETUP.EXE in the SQL Plus Client ??
- Next by Date: Re: I can't find a SETUP.EXE in the SQL Plus Client ??
- Previous by thread: Re: Filling Word with OLE2
- Next by thread: Re: Filling Word with OLE2
- Index(es):
Relevant Pages
|