how to extract text and toc out of a word doc ussing VBA

V

VBATWORK

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
 
C

Cindy M -WordMVP-

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 :)
 
V

VBATWORK

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 !
 

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