Quantcast
Channel: SCN : All Content - All Communities
Viewing all articles
Browse latest Browse all 3184

Error while trying to attach an Excel spreadsheet by _Excel_BookAttach () function AutoIt

$
0
0

Hellocommunity!

Errorwhile trying to attachan Excel spreadsheetby_Excel_BookAttach() functionAutoItthe sheetwas opened byan SAPtransaction,so I'm usingonlythe_Excel_Open() functionbut thisreturningan intermittent errorin myscript, does anyone canmehelp out?

Global$aWins=WinList($sSAP_Excel_Temp)
_ArrayDisplay($aWins)
$oWorkBook=_Excel_BookAttach($aWins[1] [0], "Title")
Error ="1 - Anerror occurredor$sStringcannot be foundinanyof theopenworkbooks@extendedisSet totheCOMerror code."
@Error=1@extended=-2147352570

I believeI'musingthe same resourcementionedin thislink:
http://help.sap.com/saphelp_afs64/helpdata/ja/e3/41a138c4397a42e10000009b38f842/content.htm

Thank you so much!

Márcio.


Viewing all articles
Browse latest Browse all 3184

Trending Articles



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