Retrieving chapters from a Word Document

M

Marius

Hi.

I'm working on a software which, amongst others, must open a Word
document, try to locate a certain chapter (with a given name and
number as appears in the Table Of Contents) and:
- if the chapter exists, it must be overwritten
- if it doesn't, it must be created.

I'm working with VB.Net, using Microsoft Word 9.0 Object Library.

Does anyone have any idea of how these can be accomplished?
I tried using the Paragraphs collection of a Word.Document, but it's
not of much help.

I apologize if this is not the right group for this question.

Thanks,
Marius
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top