 
        	 
        	Moderator: 2020vision
 by SWV » Fri Aug 18, 2017 7:04 am
by SWV » Fri Aug 18, 2017 7:04 am 
 by Captain Sensible » Fri Aug 18, 2017 10:36 am
by Captain Sensible » Fri Aug 18, 2017 10:36 am 

 by Captain Sensible » Fri Aug 18, 2017 3:39 pm
by Captain Sensible » Fri Aug 18, 2017 3:39 pm 
Option Explicit
Public timeStamp As Date
Private Sub Worksheet_Change(ByVal Target As Range)
Static lastMarket As Boolean
On Error GoTo Xit
    If Target.Columns.Count = 16 Then
        Application.EnableEvents = False
        If IsEmpty(timeStamp) Then timeStamp = Now() + TimeValue("00:01:00") ' set time so we don't rush thru first market when first opening the sheet
         
            If triggerQuickPickListReload = True Then
            triggerQuickPickListReload = False
            Range("Q2").Value = -3.1
            triggerFirstMarketSelect = True
            timeStamp = Now() + TimeValue("00:01:00") ' allow time so refresh can load
            GoTo Xit
        Else
            If triggerFirstMarketSelect = True Then
                triggerFirstMarketSelect = False
                Range("Q2").Value = -5
                lastMarket = False
                GoTo Xit
            End If
        End If
        
        
        If Now() > TimeValue("00:00:05") + timeStamp Then
        timeStamp = Now()
        
        If Range("J3").Value = "L" Then
        If lastMarket <> False Then Range("Q2").Value = "": GoTo Xit 'Clears Q2  so it won't affect first market
        Range("Q2").Value = 60 
        lastMarket = True:
        GoTo Xit
        End If
        
        
        lastMarket = False
        Range("Q2").Value = -1
        End If
        
               
        
        
Xit:
        Application.EnableEvents = True
    End If
End Sub
 by SWV » Wed Aug 23, 2017 8:13 am
by SWV » Wed Aug 23, 2017 8:13 am 
 by Captain Sensible » Wed Aug 23, 2017 3:31 pm
by Captain Sensible » Wed Aug 23, 2017 3:31 pm 
Public Sub TestQPList()
    Application.OnTime TimeValue(Worksheets("Sheet1").Range("S1").Text), "loadQuickPickList"
End Sub
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.


