PleaseGiveHelp
Programmer
Help. I have thousands of documents that I need to merge together to end up with about 50 documents.
Basically each document starts with a 9 digit code.
I need to open a document. If there are other documents that contain the same 9 digit code prefix, I need to add a section break at the end of the first document, add another document, add a section break at the end of the new document, add another document, etc...until there are no more documents containing the same 9 digit code prefix. Then I need to save as the 9 digit code prefix.doc.
If I open a document with a new 9 digit prefix and there are no other documents containing that same prefix, I can go ahead with the save as the 9 digit code prefix and close out to open up another document. I need to do this until all documents are merged and the new documents (9 digit prefix.doc) have been created.
I dont know how to go about this. Can someone get me started?
Basically each document starts with a 9 digit code.
I need to open a document. If there are other documents that contain the same 9 digit code prefix, I need to add a section break at the end of the first document, add another document, add a section break at the end of the new document, add another document, etc...until there are no more documents containing the same 9 digit code prefix. Then I need to save as the 9 digit code prefix.doc.
If I open a document with a new 9 digit prefix and there are no other documents containing that same prefix, I can go ahead with the save as the 9 digit code prefix and close out to open up another document. I need to do this until all documents are merged and the new documents (9 digit prefix.doc) have been created.
I dont know how to go about this. Can someone get me started?