Hi Community,
I am having trouble doing a split based on row value. Let me give you a few details:
I have a txt file with a big string in it(max length 142 characters). It consists of various info, including date, customer number, store code and inventory units.(see attached sample- store code is the “GRCO01”, “GRCO25” etc))
What i want to do is split the file based on the date and based on the store code, save it in a different .txt file and give it a specific name (e.g. “Store Code”_“Date”.txt)
Reading vba examples in excel, i thought that extracting the store code in a different column would be good, so i can use that as a reference to save the file and give it the first half of the final file name…Getting to the loop part of the workflow i am completely clueless, i cant seem to be able to get it right creating multiple errors…
Can you help with your superior knowledge ?
test_source.txt (27.2 KB)
split file and save.knwf (12.5 KB)