refresh Result List

Please post any questions regarding the program here.

Moderator: 2020vision

refresh Result List

Postby decodagobert » Thu Mar 15, 2012 1:07 am

Hi all,

to work with staking plans I need to update permanently the result list.

I tried follow code, to update my result list

Code: Select all
Private Sub Worksheet_Change(ByVal Target As Range)
If Target.Columns.Count <> 16 Then Exit Sub
Application.EnableEvents = False

If Range("AF2") < 45 And Range("AF2") > 30 Then
Range("Q2") = "-6"
End If
If Range("AF2") < 25 And Range("AF2") > 15 Then
Range("Q2") = ""
End If

Application.EnableEvents = True
End Sub



but it's not really working - ideas what I'm doing wrong?

dc
decodagobert
 
Posts: 23
Joined: Wed Sep 08, 2010 1:09 am

Postby GaryRussell » Thu Mar 15, 2012 11:41 am

Code: Select all
If Range("AF2") < 25 And Range("AF2") > 15 Then
Range("Q2") = ""
End If

Is the above code really necessary? When -6 is detected and the results are updated then Q2 is blanked automatically.
Have you checked if the results are updated if you insert -6 manually?
User avatar
GaryRussell
Site Admin
 
Posts: 9872
Joined: Fri Nov 18, 2005 8:09 pm
Location: Birmingham, UK

Postby decodagobert » Thu Mar 15, 2012 12:13 pm

Hi Gary,

Manually is working everything good.

I'll try without the 2nd part of the code.

greetings from Spain

decodagobert
decodagobert
 
Posts: 23
Joined: Wed Sep 08, 2010 1:09 am

Postby decodagobert » Thu Mar 15, 2012 6:27 pm

Hi Gary,

finaly, the result list is updating between my time range - but all other triggers are not working

without the code above it's everthing working...

decodagobert
decodagobert
 
Posts: 23
Joined: Wed Sep 08, 2010 1:09 am

Postby GaryRussell » Fri Mar 16, 2012 8:01 am

There must still be a problem with your code somewhere if other triggers are not working.
User avatar
GaryRussell
Site Admin
 
Posts: 9872
Joined: Fri Nov 18, 2005 8:09 pm
Location: Birmingham, UK


Return to Help

Who is online

Users browsing this forum: Google [Bot] and 42 guests

Sports betting software from Gruss Software


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.