Hi, I'm trying to do some very basic Excel file manipulation. However, I can't even get AutoIt to open up Excel files for reading!
My code is extremely simple, taken verbatim from the help files.
#include <Excel.au3>
$sFilePath1 = @ScriptDir & "\filename.xls"; open excel file
$oExcel = _ExcelBookOpen($sFilePath1)
If @error = 1 Then
MsgBox(0, "Error!", "Unable to Create the Excel Object")
Exit
ElseIf @error = 2 Then
MsgBox(0, "Error!", "File does not exist - Shame on you!")