- Apr 4, 2001
- 2,776
- 0
- 0
is there any way that i can write a script that would search for a start marker and end marker within a Microsoft Word document, make a selection between those two markers, copy what is selected, then save what was copyed on to a new document with a file name that matches the search phrase for the first marker with the current date? i would also want to do this multiple times within the document...basically seperating one document into several ones.
Example:
Code: 1200
adfasdfasfasdfasfsadfsdaf
This is the end.
Code 13000
adfasdfasdfasdfasdfsadfasdf
This is the end
would result in the following. first it would search for "Code: 1200" mark that as the beginning until it finds "This is th end." It would then save that selection to a file called "1200 current date.doc" then it would go on doing it for Code 13000...and so forth. is this possible?
Example:
Code: 1200
adfasdfasfasdfasfsadfsdaf
This is the end.
Code 13000
adfasdfasdfasdfasdfsadfasdf
This is the end
would result in the following. first it would search for "Code: 1200" mark that as the beginning until it finds "This is th end." It would then save that selection to a file called "1200 current date.doc" then it would go on doing it for Code 13000...and so forth. is this possible?
