Need To Stop my Excel Sheet Triggering Bets

Please post any questions regarding the program here.

Moderator: 2020vision

Postby Captain Sensible » Tue Dec 13, 2011 1:27 pm

Can't see any major problems why the code shouldn't work, I'm assuming you're not playing horse racing as obviously any contents in A10 will always be overwritten by the runners details if the field is large enough. As all three sheets are being linked to the same market just use one instance of vba to set all three sheets -> something like this should be sufficient in the first sheet.

I'm assuming the sheets are still called Sheet1, Sheet2 etc if not amend those details. Also if you're doing markets other than racing and the markets don't have more than 5 selections change the range cell back to your A10 otherwise using AA1 would be a lot wiser option as a control cell.

Private Sub Worksheet_change(ByVal Target As Range)
If Target.Columns.Count <> 16 Then Exit Sub
Application.EnableEvents = False

If Sheets(1).Range("F2") = "Suspended" Then
Sheets(1).Range("AA1") = "No"
Sheets(2).Range("AA1") = "No"
Sheets(3).Range("AA1") = "No"
End If


Application.EnableEvents = True
End Sub
User avatar
Captain Sensible
 
Posts: 2926
Joined: Sat Nov 19, 2005 2:29 pm

Postby Captain Sensible » Tue Dec 13, 2011 1:30 pm

personally if I were trying to stop betting In Play I'd be monitoring the "In Play" indicator rather than the Suspended as it'd be more reliable but I'm guessing you must have some reason for using suspended indicator
User avatar
Captain Sensible
 
Posts: 2926
Joined: Sat Nov 19, 2005 2:29 pm

Previous

Return to Help

Who is online

Users browsing this forum: No registered users and 40 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.