Sign in to follow this  
Followers 0
daya

Amibroker Automation

2 posts in this topic

Dear All,

Actually,I want to automate Amibroker analysis part.Amibroker is stock trading software.(Hope this is not a restricated).

OK.

I started experimanting with Excel.

I write as:

#include <Constants.au3>

Local $MyExcel = ObjCreate("Excel.Application")

If @error Then
 MsgBox($MB_SYSTEMMODAL, "ExcelTest", "Error creating the Excel Object. Error code: " & @error)

 Exit

EndIf

If Not IsObj($MyExcel) Then
 MsgBox($MB_SYSTEMMODAL, "ExcelTest", "I'm sorry, but creation of the Excel object failed.")

 Exit

EndIf

$MyExcel.Visible = 1

upto now Excel is not visible but when I add following line only then Excel is visible. Why? where i am getting wrong?

$MyExcel.workbooks.add

 

Regards

Share this post


Link to post
Share on other sites



Why not do this instead?

#include <Excel.au3>
 
Local $oExcel = _ExcelBookNew()

√-1 2^3 ∑ π, and it was delicious!

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  
Followers 0