Timestamp race start tim

Please post any questions regarding the program here.

Moderator: 2020vision

Timestamp race start tim

Postby vanbuuts » Fri Jun 09, 2017 2:49 pm

Any way I can timestamp the starting time of the race in cell AC3 ??
vanbuuts
 
Posts: 326
Joined: Thu Oct 16, 2014 8:55 pm

Re: Timestamp race start tim

Postby Captain Sensible » Fri Jun 09, 2017 4:53 pm

Just use a bit of VBA, something like below should probably work OK

Code: Select all
 If Worksheets("Sheet1").Range("E2").Value = "In Play" And Worksheets("Sheet1").Range("AC3").Value = "" Then
 Worksheets("Sheet1").Range("AC3").Value = Worksheets("Sheet1").Range("C2").Value
 ElseIf Worksheets("Sheet1").Range("E2").Value <> "In Play"
 Worksheets("Sheet1").Range("AC3").Value = ""
 End If
User avatar
Captain Sensible
 
Posts: 2923
Joined: Sat Nov 19, 2005 2:29 pm

Re: Timestamp race start tim

Postby vanbuuts » Fri Jun 09, 2017 9:32 pm

Thanks CS will give it a blast for tomorrows racing
vanbuuts
 
Posts: 326
Joined: Thu Oct 16, 2014 8:55 pm

Re: Timestamp race start tim

Postby Captain Sensible » Fri Jun 09, 2017 9:40 pm

No problem , probably best to test it out on the dogs or something just to see i it timestamps as you want before using it for real.

Just noticed I'd missed out a then on the code above, probably best amended to the code below as it should only fire when neccessary

Code: Select all
 If Worksheets("Sheet1").Range("E2").Value = "In Play" And Worksheets("Sheet1").Range("AC3").Value = "" Then
 Worksheets("Sheet1").Range("AC3").Value = Worksheets("Sheet1").Range("C2").Value
 ElseIf Worksheets("Sheet1").Range("E2").Value <> "In Play" And Worksheets("Sheet1").Range("AC3").Value <> "" Then
 Worksheets("Sheet1").Range("AC3").Value = ""
 End If
User avatar
Captain Sensible
 
Posts: 2923
Joined: Sat Nov 19, 2005 2:29 pm

Re: Timestamp race start tim

Postby vanbuuts » Sat Jun 10, 2017 9:05 pm

Works perfectly, many thanks
vanbuuts
 
Posts: 326
Joined: Thu Oct 16, 2014 8:55 pm


Return to Help

Who is online

Users browsing this forum: Google [Bot] and 40 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.