02-25-2014, 12:21 AM
I'm trying to use icsv to write to a csv
I modded the help file code to use my file path and the code worked, but today, I keep getting this error. I'm totally confused.
Error (RT) in Macro: 0x80070057, The parameter is incorrect. ?
I modded the help file code to use my file path and the code worked, but today, I keep getting this error. I'm totally confused.
str s ss
ICsv v._create
v.FromFile("C:\test\test.csv")
int nr=v.RowCount
int nc=v.ColumnCount
int r c
for r 0 nr
out "--- row %i ---" r
for c 0 nc
s=v.Cell(r c)
out s
s.trim
v.Cell(r c)=s
v.ToString(ss)
out ss
Error (RT) in Macro: 0x80070057, The parameter is incorrect. ?