Hi,
I use Excel to create journals that I then upload the problem with this is that it creates additional commas on some lines that I then have to manually remove, is there any VBA I can use that saves the sheet as csv pops up with the save as dialogue box but removes the excess commas?
The first two lines look like this;
HDR,JV1908030RC,Y,Y,,,,,,,,,,
VHD,PJE,OL,JV1908030RC,GL,Book ATM Income 01/04-30/04/19,31/05/2019,N,,SUB,,,,
These would need all the commas at the end of the line removing.
The last lines looks like this;
FLT,19841.68,19841.68,194,1,198,,,,,,,,
,,,,,,,,,,,,,
,0.00,,,,,,,,,,,,
Everything after the 198 would need to be removed.
I use the same method across numerous sheets so something I could use for all of them would be great, they all create the output in the same way though.
Thanks for the help.
I use Excel to create journals that I then upload the problem with this is that it creates additional commas on some lines that I then have to manually remove, is there any VBA I can use that saves the sheet as csv pops up with the save as dialogue box but removes the excess commas?
The first two lines look like this;
HDR,JV1908030RC,Y,Y,,,,,,,,,,
VHD,PJE,OL,JV1908030RC,GL,Book ATM Income 01/04-30/04/19,31/05/2019,N,,SUB,,,,
These would need all the commas at the end of the line removing.
The last lines looks like this;
FLT,19841.68,19841.68,194,1,198,,,,,,,,
,,,,,,,,,,,,,
,0.00,,,,,,,,,,,,
Everything after the 198 would need to be removed.
I use the same method across numerous sheets so something I could use for all of them would be great, they all create the output in the same way though.
Thanks for the help.