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

Re: Marking location of section breaks for later use [Word 2003] by Jezebel

Jezebel
Thu May 25 21:14:37 CDT 2006

Use bookmarks to define the ranges of the inserted documents.



"Mike" <Mike@discussions.microsoft.com> wrote in message
news:C5C56915-4BCC-4ED9-8652-85F108ECA1A6@microsoft.com...
> 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
>



Re: Marking location of section breaks for later use [Word 2003] by Mike

Mike
Fri May 26 16:29:01 CDT 2006

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


"Jezebel" wrote:

> Use bookmarks to define the ranges of the inserted documents.
>
>
>
> "Mike" <Mike@discussions.microsoft.com> wrote in message
> news:C5C56915-4BCC-4ED9-8652-85F108ECA1A6@microsoft.com...
> > 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
> >
>
>
>

Re: Marking location of section breaks for later use [Word 2003] by Jezebel

Jezebel
Sat May 27 01:43:17 CDT 2006

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.




"Mike" <Mike@discussions.microsoft.com> wrote in message
news:C3007ADC-0EF8-482E-9F05-EEDC5EAD0B90@microsoft.com...
> 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
>
>
> "Jezebel" wrote:
>
>> Use bookmarks to define the ranges of the inserted documents.
>>
>>
>>
>> "Mike" <Mike@discussions.microsoft.com> wrote in message
>> news:C5C56915-4BCC-4ED9-8652-85F108ECA1A6@microsoft.com...
>> > 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
>> >
>>
>>
>>



Re: Marking location of section breaks for later use [Word 2003] by Mike

Mike
Mon Jun 05 17:10:02 CDT 2006

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

"Jezebel" wrote:

> 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.
>
>
>
>
> "Mike" <Mike@discussions.microsoft.com> wrote in message
> news:C3007ADC-0EF8-482E-9F05-EEDC5EAD0B90@microsoft.com...
> > 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
> >
> >
> > "Jezebel" wrote:
> >
> >> Use bookmarks to define the ranges of the inserted documents.
> >>
> >>
> >>
> >> "Mike" <Mike@discussions.microsoft.com> wrote in message
> >> news:C5C56915-4BCC-4ED9-8652-85F108ECA1A6@microsoft.com...
> >> > 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
> >> >
> >>
> >>
> >>
>
>
>