I want to extract the text (next to or belonging to the chapter) and toc data
( ex. chapter 5.1.1.2 ) and store it to a sql server db using VB6 and or
VB.NET
Extracting the complete toc would be usefull to



Thanks

Re: how to extract text and toc out of a word doc ussing VBA by Cindy

Cindy
Sat Jun 25 10:40:05 CDT 2005

Hi =?Utf-8?B?VkJBVFdPUks=?=,

> I want to extract the text (next to or belonging to the chapter) and toc data
> ( ex. chapter 5.1.1.2 ) and store it to a sql server db using VB6 and or
> VB.NET
> Extracting the complete toc would be usefull to
>
That's nice :-) Now, do you have a specific question? And to which version of
Word does it apply?

Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Jun 8 2004)
http://www.word.mvps.org

This reply is posted in the Newsgroup; please post any follow question or reply
in the newsgroup and not by e-mail :-)


Re: how to extract text and toc out of a word doc ussing VBA by VBATWORK

VBATWORK
Sun Jun 26 13:39:01 CDT 2005

Cindy,

I am using Word 2003 , what i would like to have =

suppose i have a well structured word document ( i can open it in vb6)

i would like to extract all the text with the numbering

ex. 5 AAAAAAA
5.1 BBBBBBB
5.1.1 CCCCC
5.1.2 Example
5.2 XXXXXXX
6 TEST

to store the text and numberring in to a sql server db

I also would like to read the contents of the table(s) if there are tables
between to numberings. Numbering is generated by Word using bullets and
numbering

Thanks !





"Cindy M -WordMVP-" wrote:

> Hi =?Utf-8?B?VkJBVFdPUks=?=,
>
> > I want to extract the text (next to or belonging to the chapter) and toc data
> > ( ex. chapter 5.1.1.2 ) and store it to a sql server db using VB6 and or
> > VB.NET
> > Extracting the complete toc would be usefull to
> >
> That's nice :-) Now, do you have a specific question? And to which version of
> Word does it apply?
>
> Cindy Meister
> INTER-Solutions, Switzerland
> http://homepage.swissonline.ch/cindymeister (last update Jun 8 2004)
> http://www.word.mvps.org
>
> This reply is posted in the Newsgroup; please post any follow question or reply
> in the newsgroup and not by e-mail :-)
>
>