Moderator: 2020vision
by sagar » Fri Aug 28, 2009 11:18 am
by osknows » Fri Aug 28, 2009 11:46 am
by sagar » Fri Aug 28, 2009 12:17 pm
osknows wrote:think of the logic as
1. read the current data
2. compare to previous data
3. Run additional code if based on output comparison
4. write current data into previous data cells
In excel create an area to record the previous cell value you want to compare. In the VBA read the current value, compare with previous value in excel, run code if required, write current value to previous value in excel....repeat
by GaryRussell » Fri Aug 28, 2009 12:54 pm
by osknows » Fri Aug 28, 2009 1:03 pm
Option Explicit
'Create variable to hold values
Dim Monitored
Private Sub Worksheet_Activate()
Monitored = Range("E8").Value 'Read in value prior to any changes
End Sub
Private Sub Worksheet_Change(ByVal Target As Range)
Application.EnableEvents = False
'Compare monitored cell with initial value
If Range("E8").Value <> Monitored Then
'Insert code to do things as a result of a change
'Reset Variable with new monitored value
Monitored = Range("E8").Value
End If
Application.EnableEvents = True
End Sub
by osknows » Fri Aug 28, 2009 7:21 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.