Watch, Follow, &
Connect with Us

For forums, blogs and more please visit our
Developer Tools Community.


Welcome, Guest
Guest Settings
Help

Thread: OLE Automation and MS WOrd


This question is not answered. Helpful answers available: 2. Correct answers available: 1.


Permlink Replies: 1 - Last Post: Feb 22, 2016 10:22 AM Last Post By: Peter Below
pietro ruvolo

Posts: 1
Registered: 5/14/04
OLE Automation and MS WOrd  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Feb 22, 2016 7:31 AM
I need to remove a page containig a specific bookmark from a word document using XE8.

What is the best way to do it? i', new to OLE and what i can do is ad a text at the bookmark but I don't know how to delete a full page

Thank you for response
Peter Below

Posts: 1,227
Registered: 12/16/99
Re: OLE Automation and MS WOrd  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Feb 22, 2016 10:22 AM   in response to: pietro ruvolo in response to: pietro ruvolo
pietro ruvolo wrote:

I need to remove a page containig a specific bookmark from a word
document using XE8.

What is the best way to do it? i', new to OLE and what i can do is ad
a text at the bookmark but I don't know how to delete a full page

Thank you for response

This is just guesswork, but a Bookmark object, like other content
objects, has a Range property, and that has a GoTo method, which allows
you to navigate the content relative to the orginal range.

TheBookmark.Range.Goto(wdGoToPage, wdGoToPrevious, 0, EmptyParam)

may work.

--
Peter Below
TeamB
Legend
Helpful Answer (5 pts)
Correct Answer (10 pts)

Server Response from: ETNAJIVE02