Ok hand-holding mode
First of all, how to send a bet from Excel manually:
Start Excel, Start BA and select a market.
Then in BA, select Excel -> Log current prices from the menu.Check the Enabled Triggered Betting checkbox, and click ok.
Now go to Excel, and check you can see the market displayed in Excel - it should have some market details, all the runners and their prices, and some extra columns, and at least the clock should be updating all the time. If the prices are changing, you will also see these changin in Excel.
Now set up your test bet - we will back the top runner for £2 at odds of 1000, as a safe test bet
In Cell R5 (under Odds), type 1000
In Cell S5 (under Stake), type 2
In Cell Q5 (under Trigger) type something like WAIT, or FRED, or anything really other than BACK, LAY, CANCEL, or CLEAR, or LAYFIELD
Nothing should have happened yet
Now change cell Q5 (under Trigger) to BACK -this will fire in a Back bet
You will see cell T5 (under Bet ref) say PENDING for a a short time - under a second before the race is in play, over a second if it is in play
Then it will change to a number, which is your bet reference - you may need to drag the column a bit wider to see the number properly
Now go to BA (or to the betfair website) and check that your bet has appeared - hooray it has!
Now let's cancel the bet:
Change change cell Q5 (under Trigger) to CANCEL
Cell T5 (under Bet ref) will now empty.
Got to BA, or betfair website, and check your bet has been cancelled - hooray!
You can also put CLEAR in cell T5 if you have placed one bet successfully, and you want to remove the betref so you can send in another bet.
So that's it - all you need to do now is make Excel put BACK in cell at the right moment
-------------------------------------------------------------
Next step - how to make Excel put BACK in a cell when you want it to...
Ok we will do this in Excel without BA, so no danger of sending bets
Start a new Excel. In Cell B1, type =IF(A1="TWO WHEELS","GOOD", "BAD") and press enter
(make sure you have the equals sign on the front, and the quotes and commas in the right place)
Cell B1 should now read "BAD".
Now type TWO WHEELS in cell A1, and you should see cell B1 change to say GOOD
Type anything else (like FOUR WHEELS) in cell A1, or leave it empty, and cell B1 will say BAD.
(Use the F1 key on your keyboard to get Excel help, and it will tell you how the =if function works in Excel)
-------------------------------------------------------------
Now put it together
Let's say we want to lay the first horse for £2 at 1.04 when the race goes in play
Start Excel, Start BA, start Excel logging with triggered betting enabled as before.
In Cell R5 (under Odds), type 1.04
In Cell S5 (under Stake), type 2
In Cell Q5 (under Trigger) type =if(E$2="IN PLAY", "LAY", "WAIT") and press enter
(again use Excel help to find out what the $ inn E$2 does - look up 'cell references' or something - it just means you can copy the formula to the second horse if you want to)
Cell Q5 should say WAIT
When the race goes in play, cell E2 will change from NOT IN PLAY to IN PLAY, and cell Q5 will automatically change from WAIT to LAY, and so fire in your lay bet.
Sit and watch it do this, and then feel very pleased with yourself.
That's it - now all you have to do is think up clever ways of making the Odds Stake and Trigger columns say what you want when you want - there are lots of other messages on here already showing how to do things at certain times, or at a certain number of minutes before the off etc - will take a while to find all the posts but it will be well worth it!