Manual Trigger from Exel

Please post any questions regarding the program here.

Moderator: 2020vision

Manual Trigger from Exel

Postby samhayer » Fri Jun 14, 2024 2:24 pm

Hi Any one can you tell be how is the best way to trigger a bet manualy from a exel sheet, I want to link a sheet to a market and then watch it in play and if I see the odds and the race being run to my liking I just want to click a cell with odds for my selection to place a bet, Which is the best way to do this If I use a macro I would have to use a macro for each runner any advice please thanks
samhayer
 
Posts: 66
Joined: Wed Apr 11, 2012 4:57 am

Re: Manual Trigger from Exel

Postby Captain Sensible » Sat Jun 15, 2024 1:37 pm

Stick a Button next to each runner and use VBA to determine the row the button is placed on, something like can be the macro for all buttons.

Code: Select all
Sub BettingButton()
   Dim b As Object, RowNumber As Integer
    Set b = ActiveSheet.Buttons(Application.Caller)
    With b.TopLeftCell
        RowNumber = .Row
    End With
   
       
    Range("Q" & RowNumber).Value = "LAY"
    Range("R" & RowNumber).Value = 5
    Range("S" & RowNumber).Value = 10
   
     
   
End Sub
User avatar
Captain Sensible
 
Posts: 2923
Joined: Sat Nov 19, 2005 2:29 pm


Return to Help

Who is online

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