Excel 2007 Bet submit Problem

Discuss anything related to using the program (eg. triggered betting tactics)

Moderator: 2020vision

Excel 2007 Bet submit Problem

Postby TANGOACE » Tue Apr 01, 2008 10:33 pm

Has any one experienced any problems with Excel not firing in a bet. Auto select, trigger ticked, enabled macros, time balanced all attended. The race switches in okay, just no submission.
TANGOACE
 
Posts: 6
Joined: Mon Sep 24, 2007 2:29 pm

Postby MarkRussell » Wed Apr 02, 2008 7:16 am

Hi,

Are you sure you have the correct trigger and stake and odds filled in the trigger columns for the selection?

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

Postby Michal » Wed Apr 02, 2008 7:46 am

I have been using excel 2007 to fire bets using vb.net program and I have no issues with the trigger mechanism.

I used a strictly VBA enabeled spreadsheet before that also with 2007 and ok there as well. I would think that if BA recognises the spreadsheet and updates it ok the only test you can do is try a manualy type in some odds and stake and then type in BACK in Col Q on that row if your bets go through then its the macro .......

Michal
Michal
 
Posts: 34
Joined: Sat Mar 08, 2008 11:41 pm
Location: Sydney Australia

Postby TANGOACE » Wed Apr 02, 2008 9:02 pm

Thanks for the replies, much appreciated, I did try a manual entry and it did fire a bet so I guess that narrows things down. I have been trying to fire the bet using the spreadsheet from the Betting School but this has not worked. I have made sure that enable macros is switched on, however at least we know now where to look. :)
TANGOACE
 
Posts: 6
Joined: Mon Sep 24, 2007 2:29 pm

Postby Michal » Wed Apr 02, 2008 11:42 pm

What you need now is to find out where your problem is the best way is to step through the macro.

Type 'stop' in the macro probably at the top just as the code enters the sub. From there you should get a yellow line across the line of code
and you can step through by pressing F8 this advances the code by 1 line and allows you to see what is happening.

You'll also need to load a race into the sheet that serves as your price log and then disengage BA and alter the values so that they represent a condition in which you wish to fire the bet. Then forllow the advice above untill you get to the part of the code that should fire the bet and see then why it isnt.

I am asumming that the problem is that the actual BACK code does not appear in the spread sheet if it does and then the bet doesnot go through you need to ask for more advice then.

Michal
Michal
 
Posts: 34
Joined: Sat Mar 08, 2008 11:41 pm
Location: Sydney Australia

Postby Michal » Wed Apr 02, 2008 11:55 pm

Also check the spelling of your triggers if they are appearing but not firing BACK LAY CANCEL and so on all in capitals. I have on many occasions nearly collapsed from frustration only to find spelling was a problem rather then logic of the code. Also if you use variables to store your data and then use these to triger the bets make sure that they are spelled corectly.
For instance you collect a value in a cell like this

GoodPrice = Cells(6,"F").Value

and then fire a bet if your Good Price is at $5

If GoodPrica => 5 then Cells(6,"Q").Value = "BACK"

it will never happen because I mispelled the goodprice variable. Turn on option explicit which will force you to Dim every variable but then it will let you know that you have a new one when you mispell ..... lol

Michal
Michal
 
Posts: 34
Joined: Sat Mar 08, 2008 11:41 pm
Location: Sydney Australia

Macro not firing

Postby tamrood2000 » Sat Apr 26, 2008 12:36 pm

I had a problem like this and found that enanableevents needed to be set to True. It can go false if you error whilst in the VBA editor.
tamrood2000
 
Posts: 27
Joined: Sat Feb 02, 2008 12:35 pm


Return to Discussion

Who is online

Users browsing this forum: Google [Bot] and 30 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.