Thanks for the reply!
I do run the 32bit version. I inserted that line in the script, but no change. I tried both running and compiling the script as X86 aswell, but no go.
I've just copy pasted from the AutoIt help file, "Obj/COM reference" where there's a snipped for Excel.
This is what it looks like now:
#AutoIt3Wrapper_UseX64= N
$oExcel = ObjCreate( "Excel.Application")
if @error Then
Msgbox (0,"ExcelTest","Error Getting an active Excel Object. Error code: " & hex(@error,8))
exit
endif
$oExcel.Visible = 1
$oExcel.WorkBooks.Add
$oExcel.ActiveWorkBook.ActiveSheet.Cell(1,1).Value = "test"