jake_barnes
Board Regular
- Joined
- Sep 29, 2005
- Messages
- 55
I have a Word document that contains hundreds (or thousands) of similarly-formatted reports (about 30-40 lines of text with carriage returns), with lines that flag the start of each report and lines that are specifically flagged that I need to copy and paste at the bottom of the document, or into another document, whichever is easier.
What I need to do is activate a macro that looks for the first start flag ("START REPORT"), copies the line of text underneath it, then looks for rows flagged as "LAUNCH DATE" and "DETAILS", copies those, and then dumps all four rows of text at the bottom of the document. And then the code finds the next report (within the document) and repeats the process until it hits the end of the document.
Any thoughts would be greatly appreciated. Thanks!
What I need to do is activate a macro that looks for the first start flag ("START REPORT"), copies the line of text underneath it, then looks for rows flagged as "LAUNCH DATE" and "DETAILS", copies those, and then dumps all four rows of text at the bottom of the document. And then the code finds the next report (within the document) and repeats the process until it hits the end of the document.
Any thoughts would be greatly appreciated. Thanks!