02.12.2012 19:29:00 • Categories: Applescript, Excel • Tags: Applescript, Excel
AppleScript: save xls as cdv
(* excel_saveascsv.applescriptSaves the active sheet of workbook as csv file *)
set theFile to POSIX file "/Users/csg/Desktop/temp.csv" as text
tell application "Microsoft Excel" save workbook as workbook 1 filename theFile file format CSV file format end tell