Hi All,
JBeaucaire helped me to create a macro that will create csv files for each worksheet of a workbook.The Macro works great.
But i do have a requirement where i do not need extra commas (,) in the CSV. When the CSV are created for each worksheet, it adds additional commas in the end and my shell script throws it away becuase of the additional commas. Please help me modify the macro so that it does not add any commas for any cell which does not contain any value.
I have attached 3 files -
csvtest.xls - this has the macro which creates individual csv files for EACH worksheet in the workbook
Sheet1.csv - This is the CSV file created fromt he Macro. If you look into it, it contains additional commas in the end of each line
Sheet1_modified.csv - This is the output i expect from the Macro
Link to the thread in which JBeaucaire helped me to create this macro -
http://www.excelforum.com/excel-prog...v-files.html#2
Bookmarks