B
Blake
I have a userform which lists documents to be collected
into one large document. All documents selected are
opened (actually a document based on a template),
copied, and pasted to the end of the main document. Most
of the code that runs on the command button click event
is of this type, so basically the same 9 lines of code
run over and over again, the only thing that changes in
the code being the checkbox number and the document name.
There are potentially about 400 documents that can be
included in the main document. This part all works fine.
The problem is that when I test it out not all of the
code runs, almost like the computer is getting bogged
down because so much is going on (I'm running Word 2003
on a 433 mH (or so) processor). For instance, sometimes
the userform does not hide, or the second section (after
the table of contents) does not restart numbering at 1 as
instructed, but continues numbering from the TOC. Etc.
Yet sometimes (when testing it in the same way) it does
run and everthing works, or other parts work but not all.
What can I do to make sure that everything works?
Thanks for any help,
Blake
into one large document. All documents selected are
opened (actually a document based on a template),
copied, and pasted to the end of the main document. Most
of the code that runs on the command button click event
is of this type, so basically the same 9 lines of code
run over and over again, the only thing that changes in
the code being the checkbox number and the document name.
There are potentially about 400 documents that can be
included in the main document. This part all works fine.
The problem is that when I test it out not all of the
code runs, almost like the computer is getting bogged
down because so much is going on (I'm running Word 2003
on a 433 mH (or so) processor). For instance, sometimes
the userform does not hide, or the second section (after
the table of contents) does not restart numbering at 1 as
instructed, but continues numbering from the TOC. Etc.
Yet sometimes (when testing it in the same way) it does
run and everthing works, or other parts work but not all.
What can I do to make sure that everything works?
Thanks for any help,
Blake