09-19-2015, 10:33 AM
Hello,
Everything goes fine until SetSell at the end. It does nothing it seems. Syntax seems right. Please help.
Macro Macro2
Everything goes fine until SetSell at the end. It does nothing it seems. Syntax seems right. Please help.
Macro Macro2
spe -1 ;;auto delay
str UniqueUrl
;ExcelSheet es.Init
ARRAY(str) ListOfData ListOfUrls
int r c
run "D:\0 documents\1.xlsx"
run "D:\0 documents\2.xlsx"
ExcelSheet ExcelFileData ExcelFileUrls
ExcelFileData.Init("" 8 "D:\0 documents\2.xlsx")
ExcelFileUrls.Init("" 8 "D:\0 documents\1.xlsx")
ExcelFileUrls.CellsToArray(ListOfUrls "A:A")
ExcelFileData.CellsToArray(ListOfData "A:A")
;
;;ouputs fine
for r 0 ListOfUrls.len
,out ListOfUrls[0 r]
;;fails
ExcelFileUrls.SetCell("asdfasdf" 1 1)