GO: trigger

Discuss anything related to using the program (eg. triggered betting tactics)

Moderator: 2020vision

GO: trigger

Postby danjuma » Sat Dec 17, 2011 9:57 am

Gary,

How does one use the GO: trigger?

Can it just be entered into cell Q2 for example: =GO: sheet1!N3, which doesn't seem right to me, or does it have to be used via VBA? If via VBA, how? When I tried for example: Range("Q2").Value = GO: Range("Q1").Value, (where Q1 value =sheet1!N3), I get a compile error, invalid use of property.

Thanks
User avatar
danjuma
 
Posts: 347
Joined: Mon Apr 21, 2008 4:17 pm

Postby Shaun » Sat Dec 17, 2011 10:13 am

When i was using it you would put in the race ID you wanted to switch to, i used to use a Look on to a sheet where i had collected all the race ID for the days like this.

Code: Select all
Kyne (AUS) 6th Dec - 10:00 R1 1212m Mdn               100413293
Kyne (AUS) 6th Dec - 10:35 R2 1212m 3yo               100413295
Kyne (AUS) 6th Dec - 11:10 R3 1469m Mdn               100413297
Kyne (AUS) 6th Dec - 11:45 R4 1469m Mdn               100413299
Kyne (AUS) 6th Dec - 12:20 R5 1212m Hcap               100413301
Kyne (AUS) 6th Dec - 12:55 R6 1875m Hcap               100413303
Kyne (AUS) 6th Dec - 13:35 R7 1469m Hcap               100413305


When my sheet switched to a race it would look up the race name then display the race ID in a cell, i would combine this with the ="GO:"&control!k1
Shaun
 
Posts: 435
Joined: Fri May 09, 2008 11:11 pm
Location: Kellerberrin, Western Australia

Postby danjuma » Sat Dec 17, 2011 10:59 am

Shaun wrote:When i was using it you would put in the race ID you wanted to switch to, i used to use a Look on to a sheet where i had collected all the race ID for the days like this.

Code: Select all
Kyne (AUS) 6th Dec - 10:00 R1 1212m Mdn               100413293
Kyne (AUS) 6th Dec - 10:35 R2 1212m 3yo               100413295
Kyne (AUS) 6th Dec - 11:10 R3 1469m Mdn               100413297
Kyne (AUS) 6th Dec - 11:45 R4 1469m Mdn               100413299
Kyne (AUS) 6th Dec - 12:20 R5 1212m Hcap               100413301
Kyne (AUS) 6th Dec - 12:55 R6 1875m Hcap               100413303
Kyne (AUS) 6th Dec - 13:35 R7 1469m Hcap               100413305


When my sheet switched to a race it would look up the race name then display the race ID in a cell, i would combine this with the ="GO:"&control!k1


Thanks for the reply Shaun. I take the formula in your example, ="GO:"&control!k1, goes into cellQ2?
User avatar
danjuma
 
Posts: 347
Joined: Mon Apr 21, 2008 4:17 pm

Postby danjuma » Sat Dec 17, 2011 1:25 pm

Does not seem to work for me. The formular keeps being deleted from cell Q2. Gary any solutions/suggestions, or how this is used in a VBA code? Thanks
User avatar
danjuma
 
Posts: 347
Joined: Mon Apr 21, 2008 4:17 pm

Re: GO: trigger

Postby GaryRussell » Sat Dec 17, 2011 5:26 pm

danjuma wrote:Gary,

How does one use the GO: trigger?

Can it just be entered into cell Q2 for example: =GO: sheet1!N3, which doesn't seem right to me, or does it have to be used via VBA? If via VBA, how? When I tried for example: Range("Q2").Value = GO: Range("Q1").Value, (where Q1 value =sheet1!N3), I get a compile error, invalid use of property.

Thanks

I recommend using VBA as the formula will just get overwritten.
The code in your example may work if you change it to read as follows.
Code: Select all
Range("Q2").Value = "GO:" & Range("Q1").Value

or a shortened version would be as follows which I think is more readable. Both mean the same thing.
Code: Select all
[Q2] = "GO:" & [Q1]
User avatar
GaryRussell
Site Admin
 
Posts: 9872
Joined: Fri Nov 18, 2005 8:09 pm
Location: Birmingham, UK

Postby Shaun » Sat Dec 17, 2011 11:23 pm

Sorry about that, i should have mentioned that you need to use VBA to pick up the finished product
Shaun
 
Posts: 435
Joined: Fri May 09, 2008 11:11 pm
Location: Kellerberrin, Western Australia

Re: GO: trigger

Postby danjuma » Sun Dec 18, 2011 3:35 pm

GaryRussell wrote:
danjuma wrote:Gary,

How does one use the GO: trigger?

Can it just be entered into cell Q2 for example: =GO: sheet1!N3, which doesn't seem right to me, or does it have to be used via VBA? If via VBA, how? When I tried for example: Range("Q2").Value = GO: Range("Q1").Value, (where Q1 value =sheet1!N3), I get a compile error, invalid use of property.

Thanks

I recommend using VBA as the formula will just get overwritten.
The code in your example may work if you change it to read as follows.
Code: Select all
Range("Q2").Value = "GO:" & Range("Q1").Value

or a shortened version would be as follows which I think is more readable. Both mean the same thing.
Code: Select all
[Q2] = "GO:" & [Q1]


Thanks Gary. Your suggestion works.
User avatar
danjuma
 
Posts: 347
Joined: Mon Apr 21, 2008 4:17 pm

Postby danjuma » Sun Dec 18, 2011 3:36 pm

Shaun wrote:Sorry about that, i should have mentioned that you need to use VBA to pick up the finished product


No probs Shaun. Thanks for your assistance.
User avatar
danjuma
 
Posts: 347
Joined: Mon Apr 21, 2008 4:17 pm


Return to Discussion

Who is online

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