05-16-2017, 08:17 PM
Guys,
Do you know how can I convert the table in the Html attached in a csv file ?
I've tried:
Macro Macro53
Thanks!
Do you know how can I convert the table in the Html attached in a csv file ?
I've tried:
Macro Macro53
HtmlDoc k.InitFromText("C:\Users\Public\Documents\CORN_05_05_2017.txt")
ARRAY(str) a
k.GetTable(0 a)
int i nc=21
ICsv x._create; x.ColumnCount=nc
for i 0 a.len/nc
,str& firstCell=a[i*nc]
,firstCell.rtrim("?")
,x.AddRowSA(i nc &firstCell)
str csv; x.ToString(csv); out csv
x.ToFile("C:\Users\Public\Documents\Corn.csv")
Thanks!