Quantcast
Channel: AutoIt v3 - General Help and Support
Viewing all articles
Browse latest Browse all 12506

assigning 1D array to 1D range in Excel

$
0
0

This code works:

Dim $aArray[] = ["cars","bikes","boats"] $oWB.Activesheet.Cells(1,1).Resize(1,3) = $aArray

but this does not work:

$oWB.Activesheet.Cells(1,1).Resize(1,3) = ["cars","bikes","boats"]

I like the second approach better, what must I change?

 

Tx, Andre


Viewing all articles
Browse latest Browse all 12506

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>