Moderator: 2020vision
by cryfortheclown » Sun Sep 17, 2017 6:17 am
by Captain Sensible » Sun Sep 17, 2017 11:56 am
by cryfortheclown » Sun Sep 17, 2017 1:40 pm
by Captain Sensible » Sun Sep 17, 2017 2:22 pm
Option Explicit
Private Sub Worksheet_Change(ByVal Target As Range)
Static MyMarket As Variant
On Error GoTo xit
If Target.Columns.Count <> 16 Then Exit Sub
Application.EnableEvents = False 'turns off events so we don't retrigger the code
Application.Calculation = xlCalculationManual 'turns off all calculations
With Target.Parent
If .Range("A1").Value <> MyMarket Then ' setup any market parameters or clear old cells
MyMarket = .Range("A1").Value
.Range("AA1:AA2").Value = "" 'clear the timer for a new market
GoTo xit
End If
If .Range("E2").Value = "In Play" And .Range("AA1").Value = "" Then .Range("AA1").Value = .Range("C2").Value 'timestamp the off time'
If .Range("E2").Value = "In Play" And .Range("F2").Value = "" Then .Range("AA2").Value = DateDiff("s", .Range("AA1").Value, .Range("C2").Value)
End With
xit:
Application.EnableEvents = True ' events back on
Application.Calculation = xlCalculationAutomatic ' calculations back on
End Sub
by alrodopial » Sun Sep 17, 2017 4:21 pm
by Captain Sensible » Sun Sep 17, 2017 5:13 pm
alrodopial wrote:another idea using formulas is something like the below:
http://www.gruss-software.co.uk/forum/v ... ?f=3&t=932
by cryfortheclown » Sun Sep 17, 2017 9:39 pm
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.