I am trying to format a report that was originally saved in .txt format. I’m having to perform this duty quite frequently so I’ve been trying to create a macro to assist but am having difficulty.
These reports can be from 3 to 1,500 pages long. Where I’m having the most difficulty is trying to find a way to delete all rows between the rows that begin with “END OF CSA” and “RUN DATE” throughout the entire report. The number of rows that need to be deleted could vary for every instance where these two sets of data are found. Is there a way to accomplish this?
Note: if you read this How To, you’ll find some troubleshooting tips that might help you determine what is or isn’t working with the code.
http://www.computing.net/howtos/sho…
If it doesn’t do what you want, please post an example of your data, after clicking on the blue line at the end of this post and reading the instructions found via that link.
Click Here Before Posting Data or VBA Code —> How To Post Data or Code.