I've really been struggling with this one. I am not well versed in VBA as a forewarning.
I have a large text file containing data that I've scanned in from paper and have used OCR to create said text file. This file contains records of customer information. I need to extract only the address lines of the records. For example, the record contains 12-15 lines of information above the address lines, and another 12-15 lines before the next record starts. Each line that I want to extract (3) contain the following: 'Name(s):' 'Address:' and 'City/State/Zip:' before the actual data that I want to get at.
I'd like to import the text into column A, and then "process" that data into three separate columns: "Name" and "Address" and "City/State/Zip". I cannot figure out how to do this at all.
Any suggestions?
I have a large text file containing data that I've scanned in from paper and have used OCR to create said text file. This file contains records of customer information. I need to extract only the address lines of the records. For example, the record contains 12-15 lines of information above the address lines, and another 12-15 lines before the next record starts. Each line that I want to extract (3) contain the following: 'Name(s):' 'Address:' and 'City/State/Zip:' before the actual data that I want to get at.
I'd like to import the text into column A, and then "process" that data into three separate columns: "Name" and "Address" and "City/State/Zip". I cannot figure out how to do this at all.
Any suggestions?