Jump to content

Compiling Error


Mucho
 Share

Go to solution Solved by MikahS,

Recommended Posts

Been using the program for some years and today tried to compile after some changes to program but got the following error.

 

 

error: _ExcelBookOpen(): undefined function.
    $oExcel = _ExcelBookOpen ("C:UsersThomasAppDataRoamingMicrosoftExcelXLSTARTPERSONAL.XLS")

 

So I installed the latest version of Autoit today but still got the same error. I'm stumped. Pls help.

Link to comment
Share on other sites

  • Solution

_Excel_BookOpen("Excel obj here", "C:\Users\Thomas\AppData\Roaming\Microsoft\Excel\XLSTART\PERSONAL.XLS")

EDIT: "All function names have been changed from _Excel* to _Excel_*."

EDIT: An example:

$eOpn = _Excel_Open()
_Excel_BookOpen($eOpn, "C:\Users\Thomas\AppData\Roaming\Microsoft\Excel\XLSTART\PERSONAL.XLS")
Edited by MikahS

Snips & Scripts


My Snips: graphCPUTemp ~ getENVvars
My Scripts: Short-Order Encrypter - message and file encryption V1.6.1 ~ AuPad - Notepad written entirely in AutoIt V1.9.4

Feel free to use any of my code for your own use.                                                                                                                                                           Forum FAQ

 

Link to comment
Share on other sites

anytime ;)

Snips & Scripts


My Snips: graphCPUTemp ~ getENVvars
My Scripts: Short-Order Encrypter - message and file encryption V1.6.1 ~ AuPad - Notepad written entirely in AutoIt V1.9.4

Feel free to use any of my code for your own use.                                                                                                                                                           Forum FAQ

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...