I havent programmed in quite a bit. Took some C courses in college and forgot most of the things I have learned and I am sure I can pick up a book and use references to do what I need done. I just am not sure how to approach this situation.
I started a new job and they are a small startup and do not have in house developers. They are using employees to manually transfer information from a text file into an excel file. I am sure this can be done automatically.
What is the logic to get this done? Here is a sample of the input file:
I need the output file to be an excel file and to read like this:"""MM-139",1423/3000/TOT,USER DEFINED IN,COME,GRID,MERCHANT,INDUSTR,"Y, LLC",,"11/30/09 PAGE 2,773 """
,,MASTER FILE,LIS,TING,,,,,12/2/2009
,,,,,,,,,
GRID ID,1,,,,,,,,
,,,,,,,,,
USER,STATEMENT,MM-101,CHG,BASE,CHARGE,TERM,OPER,DATE,TIME
DEFINED,DESCRIPTION,DESCRIPTION,IND,CALC,RATE,ID,C ODE,,
1,WIRELESS FEE,WF,F,,25,TG0J,S03,9/25/2009,09:17:14:84
2,ONETIME SETUP FEE,SETUPFEE,F,,25,TG0J,S03,9/25/2009,09:17:14:84
3,AUG WIRELESS FEE,AUG WF,F,,25,TG0J,S03,9/25/2009,09:17:14:84
,,,,,,,,,
GRID ID,74,,,,,,,,
,,,,,,,,,
USER,STATEMENT,MM-101,CHG,BASE,CHARGE,TERM,OPER,DATE,TIME
DEFINED,DESCRIPTION,DESCRIPTION,IND,CALC,RATE,ID,C ODE,,
1,QUICKBOOKS SETUP FEE, QKBSETUP,F,,100,TO2U,MDC,6/29/2009,11:15:46:63
,,,,,,,,,
GRID ID,195,,,,,,,,
,,,,,,,,,
USER,STATEMENT,MM-101,CHG,BASE,CHARGE,TERM,OPER,DATE,TIME
DEFINED,DESCRIPTION,DESCRIPTION,IND,CALC,RATE,ID,C ODE,,
1,TERMINAL COST 1,TERM1,F,,799.99,TH25,MDC,6/24/2009,12:39:32:24
2,TERMINAL COST 2,TERM2,F,,799.99,TH25,MDC,6/24/2009,12:39:32:24
3,TERMINAL COST 3,TERM3,F,,799.99,TH25,MDC,6/24/2009,12:39:32:24
4,SUPPLIES,SUPPLIES,F,,50,TH25,MDC,6/24/2009,12:39:32:24
5,PLATINUM CLUB,PLATCLUB,F,,14.95,TH25,MDC,6/24/2009,12:39:32:24
Grid WIRELESS FEE ONETIME SETUP FEE AUG WIRELESS FEE
1 25 25 25
Then 74 should go under grid and QUICKBOOKS SETUP FEE should go after AUG wireless fee and under that column, on the same row as 74 should go 100
Then 195 should go under grid and TERMINAL COST 1 should be a new colum after quickbooks setup fee and under TERMINAL COST 1 column, on the row numbered 195 should go 799.99
The only other important information in contained in this file is 1423/3000/TOT and the date (in this case 11/30/09) and I want the file to be named 1423/3000/TOT - 11/30/09
in this file that contains hundreds of pages this text that looks like this "1423/3000/TOT" changes and is found several times. Everytime the file reads this in can it create a new output file named as such with the new date?
Any help is appreciated!
This is what I have to do
read in the file, store the necessary text and then output it appropriately. How do I output it in the method that I need.