Help with excel

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

Moderator: 2020vision

Help with excel

Postby Shaun » Wed May 21, 2008 5:42 pm

Hi,

I have been working on a new angle and need some halp, i am using this macro to record bets in a text docoment for uploading to the tote.

The problem i have is at the point when selections are made according to price and a LAY bet is triggered there is an amount of time between the LAY bet submission and the actual time the bet is placed.

I have set it up so it will only accept three LAY bets, once they are placed it triggers the macro to place a bet on the tote, but it is possible for the price and selection to change, what i need is to record the current selection at that point in time, i have a macro that was sent to me that would record prices at different times but because i don't really understand macros i can't alter it for my use.



This is my macro i am using


Private Sub Worksheet_Calculate()
If Range("R6").Value = Range("d5").Value Then Exit Sub
txt = Join([transpose(transpose(y7:ah7))], "") & vbCrLf & Join([transpose(transpose(y8:ah8))], "")
Open "C:\Duets\Bets\" & Sheets("Duets").Range("F1").Text & ".txt" For Output As #1
Print #1, txt
Close #1
'Shell ("c:\Duets\Autobet.exe")
End Sub


I need to record the information in x1:x24 of my sheet and place it in y1:y24 of my sheet, hope some one understands this enought to help.

I would like to be able to place the information needed at the begining of the macro before it starts to record


Private Sub Worksheet_Calculate()
If Range("R6").Value = Range("d5").Value Then Exit Sub



Place new recording macro here



txt = Join([transpose(transpose(y7:ah7))], "") & vbCrLf & Join([transpose(transpose(y8:ah8))], "")
Open "C:\Duets\Bets\" & Sheets("Duets").Range("F1").Text & ".txt" For Output As #1
Print #1, txt
Close #1
'Shell ("c:\Duets\Autobet.exe")
End Sub
Shaun
 
Posts: 435
Joined: Fri May 09, 2008 11:11 pm
Location: Kellerberrin, Western Australia

Return to Discussion

Who is online

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