In the code below i can write the excel sheet with an array from an ADODB GetRows command
But not using _Excel_RangeWrite function
Thanks for your comments,
#include <Array.au3>
#include <Excel.au3>
;Help: COM Error Handling
Global $errADODB = ObjEvent("AutoIt.Error","_ErrADODB")
Local $sFilePath = @ScriptDir & "\db.mdb"
Local Const $iCursorType = 0 ; adOpenForwardOnly, 3 adOpenStatic
Local Const $iLockType = 3 ;1 adLockReadOnly, 3 adLockOptimistic
Local Const $iOptions = 1 ; Options, 1 Evaluates as a textual definition