Moderator: 2020vision
by Tarmac » Wed Jul 30, 2014 9:42 pm
by osknows » Thu Jul 31, 2014 11:54 am
Option Explicit
Dim currentMarket As String
Dim dataCopied As Boolean
Private Sub Worksheet_Change(ByVal Target As Range)
Dim wks1 As Worksheet
Dim nxtRow As Long
If Target.Columns.Count <> 16 Then Exit Sub
Application.EnableEvents = False
With Target.Parent
If .Range("A1").Value <> currentMarket Then
currentMarket = .Range("A1").Value
dataCopied = False
End If
If .Range("AB4").Value = "END" Then
If dataCopied = False Then
dataCopied = True
Set wks1 = Worksheets("ResA")
nxtRow = LastRow(wks1.Range("A:AG"), 1)
wks1.Range("A1:AG26").Offset(nxtRow - 1, 1).Value = .Range("A5:AG30").Value
End If
End If
End With
Application.EnableEvents = True
End Sub
Public Function LastRow(ByVal rng As Range, Optional Offset As Long) As Long
'The most accurate method to return last used row in a range.
On Error GoTo blankSheetError
'Identify next blank row
LastRow = rng.Find(What:="*", SearchDirection:=xlPrevious, SearchOrder:=xlByRows).Row + Offset
'On Error GoTo 0 'not really needed
Exit Function
blankSheetError:
LastRow = 1 'Will produce error if blank sheet so default to row 1 as cannot have row 0
Resume Next
End Function
by Tarmac » Mon Aug 11, 2014 5:03 pm
by Tarmac » Thu May 14, 2015 5:12 pm
by rourkem » Sun May 17, 2015 8:27 am
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.