A couple of (hopefully) quick queries

Discussion regarding the spreadsheet functionality of Bet Angel.
Post Reply
cd2014
Posts: 8
Joined: Sat Aug 23, 2014 3:24 pm

Hi All,

I'm a new user, fairly good with excel formulas and trying to put together a fairly simple automatic horse racing lay spreadsheet (no trading) but seem to be stuck at the first hurdle. I'll list the points of what I'm trying to do below. I've scouted the forums but have not really found what I'm looking for. Any advice or a pointer to another post would be much appreciated. Compared to the complexities that some of you guys are doing I'm guessing this might be very straightforward for some of you. ;)

I'm using one single betangel worksheet, one worksheet of my own and guardian to cycle through the races x minutes before the off overwriting the same worksheet. I intend to do some calculations and place lay bets just after this point allowing guardian to cycle onto the next race leaving placed lay bets to remain until the off. I'm happy with the way it cycles. I just need to solve the next two points before I can continue.

1. I need to grab the prices from the betangel worksheet at a specific point just after x mins and put these in my own worksheet to enable further calculations on these specific prices.
2. Before,during or just after this price grabbing I need to clear out the orders,report,odds,stake and status of what was left on the sheet before the market changed from the previous market.

I'm pretty sure I can complete the rest of the job if I could get past these two things as I know I can write the formulas to do it but I'm just not sure how to deal with these two things.

As I said, any help or guidance to another post would be much appreciated. I'm guessing this might be heading down the vb route, if so please could you advise where to drop the vb (workbook or worksheet)

Cheers
Chris
cd2014
Posts: 8
Joined: Sat Aug 23, 2014 3:24 pm

Well, I have dealt with point one by not attempting to grab the prices at a specific time. Instead I am using if statements and have created a small time window using now() and the eventstart time. This allows me to do what I need.

Point 2 issue still remains and this is because it's a VB issue and I have no idea how to solve this one. I now know that I would like to clear the Status fields only upon the single market sheet loading up the next market.
I see in the forums there are ways to do this when the market is suspended but I want to do it as soon as the sheet updates the next market and only once.

Can anyone help on this?
nigelk
Posts: 469
Joined: Wed Apr 15, 2009 11:00 pm

This should work

Target the cell that has the race description and put the code in as a sheet change event (right click the attached sheet tab and "view code"

Nigel.
You do not have the required permissions to view the files attached to this post.
cd2014
Posts: 8
Joined: Sat Aug 23, 2014 3:24 pm

Great Stuff. Thanks Nigel,

Much Appreciated. Chris
Post Reply

Return to “Bet Angel - Spreadsheet / Excel chat”