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

Excel.au3 The requested action with this object has failed

$
0
0
I have an input file which gets stock symbol data from excel.  For some reason in the script, The ExcelReadSheetTo Array function radomly throws the error below and terminates the script.  If I rerun, it may run fine, If I rerun again, it might error right away. Is there a way to trap this error? or does anyone know why I am receiving this error and have a way around it.

Excel Info:
; Title .........: Microsoft Excel COM UDF library for AutoIt v3
; AutoIt Version : 3.2.3++, Excel.au3 v 1.5 (07/18/2008 @ 8:25am PST)


When I call $aArray = _ExcelReadSheetToArray($oExcel,4,1,51,4) ;

I frequently receive the following error:

C:\Program Files (x86)\AutoIt3\Include\Excel.au3 (823) : ==> The requested action with this object has failed.:
$avRET[$r][$c] = $oExcel.Activesheet.Cells($iStartRow + $r - 1, $iStartColumn + $c - 1).Value
$avRET[$r][$c] = $oExcel.Activesheet.Cells($iStartRow + $r - 1, $iStartColumn + $c - 1).Value^ ERROR

Viewing all articles
Browse latest Browse all 12506

Trending Articles



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