Probs communication Excel <--> BA

Find a developer for your Excel triggered betting needs and advertise your development service here.

Moderator: 2020vision

Probs communication Excel <--> BA

Postby Fiets » Wed Mar 07, 2012 11:38 am

Hello,

I'm a new user and I'm testing some excel features.

If I try to cancel my orders via excel with a test sheet from the internet I always get the same VBA Debug Error ("ba.cancelAllBets") cannot be found.

It looks like VBA doesn't understand the BettingAssistantCom.ComClass language.

I checked the References (VBA --> Tools --> References) and BettingAssistantCom is checked there.


Please can somebody help?
Fiets
 
Posts: 5
Joined: Wed Mar 07, 2012 11:28 am

Postby neeeel » Wed Mar 07, 2012 2:02 pm

which version of gruss are you using?
neeeel
 
Posts: 111
Joined: Sun Jun 27, 2010 1:14 pm

user ver 1.1.0.66x82

Postby Fiets » Thu Mar 08, 2012 12:09 am

I'm using BA software user ver 1.1.0.66x82

and Excel 2010

cheers
Fiets
 
Posts: 5
Joined: Wed Mar 07, 2012 11:28 am

Postby neeeel » Thu Mar 08, 2012 2:03 am

ok, thought it might be because you were using a really old version of gruss. Can you tell us the exact error message that comes up, and the line of code where it is used
neeeel
 
Posts: 111
Joined: Sun Jun 27, 2010 1:14 pm

error

Postby Fiets » Thu Mar 08, 2012 9:39 am

Dim WithEvents ba As BettingAssistantCom.ComClass
------------------------------------------------------------------------------
Private Sub CommandButton4_Click()
result = ba.cancelAllBets
End Sub
-------------------------------------------------------------------------------


The 'result = ba.cancelAllBets' gets yellow
Fiets
 
Posts: 5
Joined: Wed Mar 07, 2012 11:28 am

Postby neeeel » Thu Mar 08, 2012 2:03 pm

what is the exact error message you are getting
neeeel
 
Posts: 111
Joined: Sun Jun 27, 2010 1:14 pm

Postby Fiets » Fri Mar 30, 2012 4:28 pm

Sorry for the late reaction and miss communication.

My question is this.

is is possible to make an excel macro that will cancel all bets that are in the market (and of cource unmatched)

if so, how does that macro look like (VBA)

kind regards
Fiets
 
Posts: 5
Joined: Wed Mar 07, 2012 11:28 am

Postby MarkRussell » Fri Mar 30, 2012 6:05 pm

Hi,

If you get the Beta version there is a trigger that wil cancel all unmatched bets in the market:-
CANCEL-ALL-MARKET

You just need to ensure that there is something in the Bet Ref column on the row where you use the trigger.
It doesn't have to be a valid bet ref you could just DUMMY for example.

Regards,
Mark
User avatar
MarkRussell
Site Admin
 
Posts: 1787
Joined: Tue Feb 20, 2007 6:38 pm
Location: Birmingham

Postby Fiets » Mon Apr 02, 2012 9:54 am

@ MarkRussell

Tanks for your help, it is working great now

Fiets
Fiets
 
Posts: 5
Joined: Wed Mar 07, 2012 11:28 am


Return to Find an Excel developer

Who is online

Users browsing this forum: No registered users and 11 guests

Sports betting software from Gruss Software


The strength of Gruss Software is that it’s been designed by one of you, a frustrated sports punter, and then developed by listening to dozens of like-minded enthusiasts.

Gruss is owned and run by brothers Gary and Mark Russell. Gary discovered Betfair in 2004 and soon realised that using bespoke software to place bets was much more efficient than merely placing them through the website.

Gary built his own software and then enhanced its features after trialling it through other Betfair users and reacting to their improvement ideas, something that still happens today.

He started making a small monthly charge so he could work on it full-time and then recruited Mark to help develop the products and Gruss Software was born.

We think it’s the best of its kind and so do a lot of our customers. But you can never stand still in this game and we’ll continue to improve the software if any more great ideas emerge.