Trigger

Please post any questions regarding the program here.

Moderator: 2020vision

Trigger

Postby dixiedean » Wed Jul 16, 2014 10:30 pm

Hi can anyone help before i go insane! :shock:
I am a novice at vba and what i am looking for is to copy the lay prices from column f and paste them only once into column bb when the race goes in play and then to clear them when the market changes.

I have got some of it to work but then the other part wont,

Pleas help

Dixie
dixiedean
 
Posts: 28
Joined: Tue Sep 13, 2011 6:42 pm

Re: Trigger

Postby dixiedean » Wed Jul 16, 2014 10:31 pm

Edit : The lay prices from column H i meant
dixiedean
 
Posts: 28
Joined: Tue Sep 13, 2011 6:42 pm

Re: Trigger

Postby dixiedean » Fri Jul 18, 2014 5:31 pm

Ok i have got the first bit to work using some code i found on the forum but how do i edit it to clear the cell "W2" when the market changes?

Code: Select all
    Private Sub Worksheet_Change(ByVal Target As Range)

        If Target.Columns.Count <> 16 Then Exit Sub

    If Cells(2, 22) = 1 And Cells(2, 23) <> 1 Then
       
    Application.EnableEvents = False
    Application.Calculation = xlCalculationManual

    Range("bb5:bb25").Value = Range("h5:h25").Value
    Cells(2, 23) = 1

    Application.EnableEvents = True
    Application.Calculation = xlCalculationAutomatic
    End If
 



    End Sub


Thanks
dixiedean
 
Posts: 28
Joined: Tue Sep 13, 2011 6:42 pm


Return to Help

Who is online

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