Hello everyone, First post and I need some assistance.
master document is a .csv however each record is divided by a row:
"information","information", and such.
" " (space, and empty line)
"Revenue Code: #### (this line is the key. code is 2 to 5 digits)
I need to read the file storing each line until I get the last line, "Revenue Code: ####" then take this code and create a new Document titled with that code, and putting that line on the first line of the new document, then all the previous lines.
After this proceed through the rest of the document doing the same thing. (all different rev codes on new documents) there are over 250 rev codes, in this very large document.
I'm faily new to VBS and I can't get this all together, can some of you help me with this? Anything is greatly appreciated.
master document is a .csv however each record is divided by a row:
"information","information", and such.
" " (space, and empty line)
"Revenue Code: #### (this line is the key. code is 2 to 5 digits)
I need to read the file storing each line until I get the last line, "Revenue Code: ####" then take this code and create a new Document titled with that code, and putting that line on the first line of the new document, then all the previous lines.
After this proceed through the rest of the document doing the same thing. (all different rev codes on new documents) there are over 250 rev codes, in this very large document.
I'm faily new to VBS and I can't get this all together, can some of you help me with this? Anything is greatly appreciated.