03-26-2016, 04:24 AM
Macro Macro2708
;1
ExcelSheet es.Init("Sheet1") ;;assuming that the file is already open. Other parameters of this function will probably allow you to fully implement step 1.
;2
ARRAY(str) a; es.CellsToArray(a "A1:D21")
;3
ICsv x._create
x.FromArray(a)
x.ToFile("C:\test\data.csv")
;results
run "C:\test\data.csv"