Jump to content
Sign in to follow this  
mist3r

COM objects

Recommended Posts

mist3r

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

Share this post


Link to post
Share on other sites
GaryFrost

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.

 

Share this post


Link to post
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
Sign in to follow this  

×