The following spreadsheet is an example of using the MyBets worksheet. It calculates the net matched stake and uses this to trigger new tick offset bets when the offset bet is matched. It determines the offset bet is matched by calculating the net matched stake to be zero. The net matched stake is the difference between the total back and lay stakes placed on the selection.
The spreadsheet places a 10 pence bet with 1 tick offset on the top selection at the current best back odds. As soon as the offset bet is matched another bet is triggered. You must tick "Log current bets" when setting up the link to Excel. It's not going to make you any money, it's just an example, but the worst you can lose is 10 pence if you test it.
Note:-
The bets are only triggered when the market is in play in this example.
As MyBets is not updated at exactly the same time as the main worksheet the VBA code also checks that the initial bet is included in MyBets when calculating the net stake.
https://www.gruss-software.co.uk/Excel/ ... xample.xls