The <format> parameter is of type XlFileFormat; for a CSV text file, use xlCSV or xlCSVMSDOS. The VBA documentation enumerates all the possible format options.
Microsoft is conducting an online survey to understand your opinion of the Msdn Web site. If you choose to participate, the online survey will be presented to you when you leave the Msdn Web site.