Moderator: 2020vision
by Kentucky » Tue Aug 24, 2010 7:32 am
by osknows » Tue Aug 24, 2010 10:44 am
Private Sub Worksheet_change(ByVal Target As Range)
If Target.Columns.Count <> 16 Then Exit Sub
Application.EnableEvents = False
With ThisWorkbook.Sheets(Target.Worksheet.Name)
If .Range("AA1") = 1 Then
.Range("AN5:AN35").Value = .Range("AA5:AA35").Value
ElseIf .Range("AA1") > 1 Then
.Range("AN5:AN35").ClearContents
End If
End With
Application.EnableEvents = True
End Sub
by Shaun » Wed Aug 25, 2010 1:37 pm
by osknows » Wed Aug 25, 2010 2:12 pm
by Shaun » Wed Aug 25, 2010 2:39 pm
by osknows » Wed Aug 25, 2010 3:04 pm
Private Sub Worksheet_calculate()
Dim ba_array() As Variant
Application.EnableEvents = False
If ThisWorkbook.Sheets("Control").Range("S2").Value = 1 Then
ba_array = ThisWorkbook.Sheets("Control").Range("A8:P55").Value
With ThisWorkbook.Sheets("Record")
.Range(.Range("A" & .Range("A" & Rows.Count).End(xlUp).Row).Offset(1, 0), _
.Range("A" & .Range("A" & Rows.Count).End(xlUp).Row).Offset(UBound(ba_array, 1) - 1, _
UBound(ba_array, 2) - 1)).Value = ba_array
End With
End If
Application.EnableEvents = True
End Sub
by Shaun » Wed Aug 25, 2010 3:22 pm
by Shaun » Wed Aug 25, 2010 3:26 pm
by osknows » Wed Aug 25, 2010 8:47 pm
Shaun wrote:Cell S2 has a formula in it that is 0 untill a specific time then changes to 1 at that time all bets are made, i just want to record this information when the bets are made.
by Shaun » Thu Aug 26, 2010 12:53 am
Private Sub Worksheet_calculate()
Static MyMarket As Variant
Application.Calculation = xlCalculationManual
Application.EnableEvents = False
If [S1].Value = MyMarket Then
GoTo Xit
Else
MyMarket = [S1].Value
ba_array = ThisWorkbook.Sheets("Control").Range("A8:P55").Value
With ThisWorkbook.Sheets("Recorded")
Dim LastRow As Long
LastRow = .Range("A65536").End(xlUp).Row
.Range(.Cells(LastRow + 1, 1), .Cells(LastRow + 1 + UBound(ba_array, 1), 1 + UBound(ba_array, 2))).Value = ba_array
End With
End If
Xit:
Application.EnableEvents = True
Application.Calculation = xlCalculationAutomatic
End Sub
by osknows » Thu Aug 26, 2010 12:33 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.