Hi all,
Need some help formatting a CSV file using FSO? Basically I have written an Excel macro that pulls data from Excel and saves it into a CSV file but when I open the file in a text editor the formatting appears to be off.
This is what I have.
CI,20060320203300,testuser,1,,,,
3,testbankcode,,nyc,testbankaccount,usd,50000.00,20060317
3,testbankcode1,,nyc,testbankaccount1,usd,50001.00,20060317
99,13,100001.00,,,,,
This is what I need.
CI,20060320203300,testuser,1
3,testbankcode,,nyc,testbankaccount,usd,50000.00,20060317,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
3,testbankcode1,,nyc,testbankaccount1,usd,50001.00,20060317,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
99,13,100001.00
How can I get FSO to remove the commas in the header and trailer records and append about 39 to the records in between?
Thanks.
Need some help formatting a CSV file using FSO? Basically I have written an Excel macro that pulls data from Excel and saves it into a CSV file but when I open the file in a text editor the formatting appears to be off.
This is what I have.
CI,20060320203300,testuser,1,,,,
3,testbankcode,,nyc,testbankaccount,usd,50000.00,20060317
3,testbankcode1,,nyc,testbankaccount1,usd,50001.00,20060317
99,13,100001.00,,,,,
This is what I need.
CI,20060320203300,testuser,1
3,testbankcode,,nyc,testbankaccount,usd,50000.00,20060317,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
3,testbankcode1,,nyc,testbankaccount1,usd,50001.00,20060317,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
99,13,100001.00
How can I get FSO to remove the commas in the header and trailer records and append about 39 to the records in between?
Thanks.