vba problem

Please post any questions regarding the program here.

Moderator: 2020vision

vba problem

Postby decodagobert » Wed Oct 17, 2012 4:41 pm

Hi all,

problems all arround..

I have 3 tabs in 1 sheet - A1, A100 and A200
so in my first market is Q2 for my refresh, the second will be Q101 and the third Q201

I need to refresh all this market some seconds before the off.

my code:

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

If Range("V2") > 10 Then
Range("Q2;Q101;Q201") = "1"
End If

If Range("V2") < 10 And Range("V2") > 8 Then
Range("Q2;Q101;Q201") = "-6"
End If

If Range("V2") < 8 Then
Range("Q2;Q101,Q201") = "1"
End If


Application.EnableEvents = True
End Sub


it's onlyworking with the Q2 cell, the others 2 are empty

What I'm doing wrong?


thanks for answer


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

Return to Help

Who is online

Users browsing this forum: No registered users and 97 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.