1 Attachment(s)
VBA to read text file and import specific data from it to excel columns
Hello,
I have tried to develop a code in VBA in which a text file is loaded and tried by reading line by line to find a specific word that is repeated in it. I would like to extract the values corresponding to it and store them in an excel column. I have tried this with Mid and Right functions as well as the Instr but apparently I am doing something wrong. I am new to coding so any help would be much appreciated.
I will be extracting info such as LaneId SectionId etc.. It should be the same code for all more or less but if i manage to do it correctly for one, doing the rest must be easy!
Attachment 22205