Help. I'm not a coder, so I can't figure out how to do this, but I do understand code when i see it, so...
I am creating a procedure in which I need to go through each text file in a folder. For example, I have a folder called Moves and within that folder i have 10 .txt documents storing data collected during customer phone calls.
Data can include name, dates, address, and various other data strings that are then plugged into an excel spreadsheet systematically
what I need to do is create a while loop to avoid typing a bunch of code over and over to do the same thing wherein, when the event is triggered, the script will open the Moves folder, grab the string information in the first .txt file and write it to a variable, then grab the next string from .txt file two, store in a variable, etc... until there are no more files.
I will have multiple folders inevitably, each with a different number or .txt files and some, but not all .txt files will be the same information, but the need to separate them this way is valid for my project.
Please show me the way.
I am creating a procedure in which I need to go through each text file in a folder. For example, I have a folder called Moves and within that folder i have 10 .txt documents storing data collected during customer phone calls.
Data can include name, dates, address, and various other data strings that are then plugged into an excel spreadsheet systematically
what I need to do is create a while loop to avoid typing a bunch of code over and over to do the same thing wherein, when the event is triggered, the script will open the Moves folder, grab the string information in the first .txt file and write it to a variable, then grab the next string from .txt file two, store in a variable, etc... until there are no more files.
I will have multiple folders inevitably, each with a different number or .txt files and some, but not all .txt files will be the same information, but the need to separate them this way is valid for my project.
Please show me the way.