Marking location of section breaks for later use [Word 2003]

M

Mike

Hi! I am appending a bunch of Word 2003 documents programmatically. I am
inserting section breaks between them. I have a need to later open the
resulting document and insert more documents somewhere in the middle – the
user chooses the document after which a new document is inserted.

1)I need to enumerate all documents in the resulting document so I can
display a list of them to the users.
2)I need to know the location or get some sort of reference to the location
of the section breaks so I can insert more docs.

What are my options? What objects/techniques are available to me?

Any ideas/suggestions/code samples are greatly appreciated.

Thank you in advance,

--Michael
 
M

Mike

Thank you very much, Jezebel,
your answers are always on the $.

I am not sure though how it can address #1.
Can bookmarks have values or tags ?
I can not seem to find a sample anywhere.

Many thanks in advance,

--Michael
 
J

Jezebel

Bookmarks have names. You could use the same name to refer to a document
variable containing any additional info you need about the range in
question.
 
M

Mike

Thank you for your answer. I programmed bookmarks to my app only realizing
that bookmark' s length is limited by 40 characters. I need at least 256.

What else can I do ?

Many thanks in advance,

--Michael
 

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