From http://www.ozgrid.com/forum/showthread.php?t=76720

Excle Macro to export a range of cells into .csv file. I haven't tested it but it looks good. Anyhow I don't take any responsibility for this code.