C
Culichi
Evening--
I'm working on a macro that appends 7 or 8 already rather large Word
files (about 450 pages each; 800-1500 KB) into one large file, with
markers in between each, etc. I use an .InsertFile procedure to bring
the second file into the first, then the third, etc.
Problem: Each file is sufficiently large that it takes 10-15 seconds to
write each one into the first. But the macro doesn't wait for this to
finish, and so it continually interrupts itself b/c it runs out of memory.
Questions:
1. Is there a way to combine word files that is much simpler than this,
i.e., that I can do w/o writing a VBA program but still lets me put
markers (e.g., a line and the filename being appended) in between so
that I can do searches for these later?
2. Is there something I can do to increase the memory Word has at its
disposal? Is it even limited? I'm running a virtually new Dell with a P4
chip that's 3.-something in speed and 512 RAM. I don't know if that
limits Word speed or not.
3. The real question: How can I tell write into the macro some sort of
"Wait" or "delay" command before it tries to move from, say, the second
file to the third. Word doesn't have trouble handling the resulting
large files; I've created a couple manually. I just need to wait for
file insertion to complete.
Once again, many thanks!
Kelley
I'm working on a macro that appends 7 or 8 already rather large Word
files (about 450 pages each; 800-1500 KB) into one large file, with
markers in between each, etc. I use an .InsertFile procedure to bring
the second file into the first, then the third, etc.
Problem: Each file is sufficiently large that it takes 10-15 seconds to
write each one into the first. But the macro doesn't wait for this to
finish, and so it continually interrupts itself b/c it runs out of memory.
Questions:
1. Is there a way to combine word files that is much simpler than this,
i.e., that I can do w/o writing a VBA program but still lets me put
markers (e.g., a line and the filename being appended) in between so
that I can do searches for these later?
2. Is there something I can do to increase the memory Word has at its
disposal? Is it even limited? I'm running a virtually new Dell with a P4
chip that's 3.-something in speed and 512 RAM. I don't know if that
limits Word speed or not.
3. The real question: How can I tell write into the macro some sort of
"Wait" or "delay" command before it tries to move from, say, the second
file to the third. Word doesn't have trouble handling the resulting
large files; I've created a couple manually. I just need to wait for
file insertion to complete.
Once again, many thanks!
Kelley