Create Multiple Forms from Check Boxes

D

dgold82

I have about 50 forms that I would like to integrate into one word doc.
Basically, I want to be able to open one file and the first page
is 50 check boxes each corresponding to a form that would be created in the
subsequent sections/pages if checked. Anyone have any code that could help
me with this? Thx.
 
D

Doug Robbins - Word MVP

Are the forms all separate individual documents that you want ot insert into
the one document?

If so, what I would do is have a multi-select list box on a userform
populated with each of the filenames and then have a command button to
iterate through teh list, inserting each of the documents in turn.

See the article "How to find out which Items are selected in a Multi-Select
ListBox" at:

http://www.word.mvps.org/FAQs/Userforms/GetMultiSelectValues.htm

For populating the list box,

See the article "Insert into a document the names of all files in a selected
folder" at:

http://www.word.mvps.org/FAQs/MacrosVBA/InsertFileNames.htm




--
Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP
 
D

dgold82

Right now they are in one long continuous locked document with a table of
contents, but I could separate into files if need be. It seems like from your
links below that the forms would not be stored in one file and would be
pulling from a folder on the computer. I actually need them in one file since
I am going to distribute this around my department and I cannot change the
user settings on each computer. All macros and files will need to be in one
file easily emailed around. Any ideas? Thanks for your help!
 
D

Doug Robbins - Word MVP

Seems to me that you would be wanting to dis-integrate them then. Does your
later question with the subject of "Print only certain pages in Form" to
which fellow MVP Greg Maxey has resonded, supersede this one.

--
Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP
 
D

dgold82

Kind of. I am working on 2 fronts here. Either putting them in one long
continuos form with a TOC or figuring out how to create the forms by clicking
a checkbox. Greg gave me some code to try out for the printing on certain
pages which I will try sometime today or tomorrow. If that works I think it
would be best if I just went with that option (unless someone finds an easy
way to do this).

Since I am not an advanced user of Word I didn't know if this would be
difficult or easy. I appreciate your help with this!
 

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