A small progress:
I open ie 5 tabs in ba, link them into 5 sheets in excel and then with the below:
- Code: Select all
Dim WithEvents ba As BettingAssistantCom.ComClass
Sub ddddddd()
If ba Is Nothing Then
Set ba = New BettingAssistantCom.ComClass
ba.tabIndex = 0
End If
ddd = ba.openMarket(112818210, 1)
End Sub
I open the market I want in the correct tab - tabIndex = ??? must be the correct number.
Markets are already linked into excel sheets so trigger betting is ok.
1. why do I have to set a variable to ba.openMarket and not just ba.openMarket ?
2. How can I open a market at cell A20?
3. Is there a way to close a market in ba using com? - no need for further data requests -