PDA

View Full Version : Split a large document into pieces



Horace
08-05-2008, 10:24 AM
I have a very large document with contents like:

"
text text text
text text text

END

text text text
text text text

END

text text text

END
"

I would divide the master document into it component parts. Thus, take a range until "END", dump this into a new document, and repeat. File names are unimportant.

Does anyone have a stock bit of code?

Thanks

lucas
08-06-2008, 07:30 PM
Hi Horace,
See if this (http://vbaexpress.com/kb/getarticle.php?kb_id=922) is any help.

Horace
08-07-2008, 06:41 AM
Thanks for the help!

lucas
08-07-2008, 04:30 PM
Horace, if that solved your problem please mark the thread solved using the thread tools at the top of the page.