Table creation

D

David Hammond

I looking for examples of VB that can create tables from the document text.

The document text is outline numbered 4 levels deep.
Some of the lines in the text are have a unique character style applied to
them "Requirement".

I looking to creat some VB in word that would build a table at the end of
the document.
This table would contain one row for each Line in the text mark with the
"Requirement"
character style. The rows would contain the Text line in one column and the
paragraph outline number in
another column.

Some thing like this, in a table:

Paragraph number Text Line
2.2.4.1 Requirement 1
2.3.1.6 Requirement 2

Are there any examples that I can look at the do something like this.

Thanks
 
W

Word Heretic

G'day "David Hammond" <[email protected]>,

Myself and other denizens of these newsgroups would be delighted to
provide a commercial solution to this problem David. It will take
quite a few hours, some examples, and thusly hundreds dollars.

The basic command is converttexttotables on a range. Then you have to
mod the table row created based on your specifications.



David Hammond said:
I looking for examples of VB that can create tables from the document text.

The document text is outline numbered 4 levels deep.
Some of the lines in the text are have a unique character style applied to
them "Requirement".

I looking to creat some VB in word that would build a table at the end of
the document.
This table would contain one row for each Line in the text mark with the
"Requirement"
character style. The rows would contain the Text line in one column and the
paragraph outline number in
another column.

Some thing like this, in a table:

Paragraph number Text Line
2.2.4.1 Requirement 1
2.3.1.6 Requirement 2

Are there any examples that I can look at the do something like this.

Thanks

Steve Hudson

Word Heretic, Sydney, Australia
Tricky stuff with Word or words for you.
Email: (e-mail address removed)
Products: http://www.geocities.com/word_heretic/products.html
Spellbooks: 728 pages of dump left and dropping...

The VBA Beginner's Spellbook: For all VBA users.
 

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