Need to know how to export a range to csv file

Hi,
I'm quite a novice in visual basic for application programming.
I'm trying to create a script which exports a range selection in Microsoft excel 2007 to a CSV file applying comma as a field separator.
I don't understand how to get the export working with the comma separator.
Need to have a solution.
Thanks
