2 Attachment(s)
Macro to parse a file and input in a spreadsheet the lines that match parameters
So I am fairly new to VBA and I've been asked to write a script to access a file named 2811_***_**** where the 2811 stays the same everyday but the end changes. I then need to parse each line and if it meets a certain parameter that I have been given, then it needs to list each carton in a cell on a spreadsheet. I've linked a screenshot in the post. So for example, when the script reads a line and the carton starts with 0606 like the one in the screenshot, then it needs to grab the whole carton number and input into a cell and has to do that for every carton it finds that starts with 0606. Any help is greatly appreciated, thank you!