Parse A Text File Into An Excel Spreadsheet
Posted on 2013-12-22
Please help anyone. I have a text file that is over 6MB and has proven to be quite difficult to parse. It does not have the same format throughout but is close. The beginning column header is "NSN:" and everything following this should remain on the same row. The next row should start at the next instance of the word "NSN:" I have been trying over and over to figure this out but to no avail. I have to get this out to my company sometimes tomorrow if anyone can help me out. I am a total newbie at a scripting and this is a first for me. Please help, anyone! I have provided a portion of the text file that needs to be parsed as well as the VBA script I have so far. I am almost certain that there is a better way to do this. Thanks in advance for all of the help!