Automating Document Creation

T

Trying06

Help!!!

I'm attempting to build a capability where I can create a huge list of
statements in a source document and go through and select applicable
statements to include in a final document. I see the source document being a
complete list of statements that are categorized by some common theme. I
just go through and select the statements I want included in the final
document and voila, it's done.

I'll also need to edit the statements after they are chosen to be included
in the final document. Any great ideas out there on how to best accomplish
this with the greatest degree of flexibility?
 
J

Jean-Guy Marcil

Trying06 was telling us:
Trying06 nous racontait que :
Help!!!

I'm attempting to build a capability where I can create a huge list of
statements in a source document and go through and select applicable
statements to include in a final document. I see the source document
being a complete list of statements that are categorized by some
common theme. I just go through and select the statements I want
included in the final document and voila, it's done.

I'll also need to edit the statements after they are chosen to be
included in the final document. Any great ideas out there on how to
best accomplish this with the greatest degree of flexibility?

I would use a template with AutoText entries.

I would name the AutoText Entries in such a way as to easily categorize them
*and* to be able to use the name to generate content for a multiple select
ListBox on a userform. Something like:

Theme1_Topic1
Theme1_Topic2
Theme1_Topic3
Theme2_Topic1
etc.

Then use something like:
Me.myListBox.AddItem Replace("Theme1_Topic1", "_", " ")
etc.

Or course, if there are lots of them, you might want to create an array
instead.

Present the user with two ListBoxes on a userform , one on the right that
lists all the possible text blocks, they select and click on a button to add
them in the list on the right. You might wan to provide a functionality so
that the user can place them in order if that is important. When the list on
the right is complete, they would click on a OK button that would insert
each AutoText one after the other based on the content of the ListBox on the
right.

You could also use radio buttons and tabbed pages on the userform instead of
ListBoxes, it might be easier that way.

The ultimate design you will use depends on the number of blocks and how
they are organized.

--
Salut!
_______________________________________
Jean-Guy Marcil - Word MVP
(e-mail address removed)
Word MVP site: http://www.word.mvps.org
 

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