Jump to content

COM objects


Recommended Posts

Just reading the autoit help file on COM and it appears kickass and sure it is. However when I try a basic

$oExcel = ObjCreate(Excel.Application)

I would of thought it would just open Excel.

I get...

Line 1 (File "c:\autoitbeta\test.au3"):

$oExcel = ObjCreate(Excel.Application)

$oExcel = ObjCreate(^ ERROR

Error: Error parsing function call.

Is there something im missing? Thanks for your help.

Hoorah for AutoIT and the community! :D

Link to comment
Share on other sites

Just reading the autoit help file on COM and it appears kickass and sure it is. However when I try a basic

I would of thought it would just open Excel.

I get...

Is there something im missing? Thanks for your help.

Hoorah for AutoIT and the community! :D

I believe its:

$oExcel = ObjCreate("Excel.Application")

SciTE for AutoItDirections for Submitting Standard UDFs

 

Don't argue with an idiot; people watching may not be able to tell the difference.

 

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

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...