Reload quick pick list at midnight

Please submit your spreadsheets by email and I will include them here.

Moderator: 2020vision

Reload quick pick list at midnight

Postby GaryRussell » Wed Jun 03, 2009 11:09 am

This example uses the -3 trigger to reload the quick pick list followed by the -5 trigger to select the first market in the list. Both triggers go into cell Q2.

https://www.gruss-software.co.uk/Excel/ ... ckList.xls

1) When the workbook is opened the Workbook_Open event is fired. The Application.OnTime function is then called to run a procedure at midnight every day.

2) When the procedure runs at midnight it sets a flag telling the Worksheet_Change event to populate cell Q2 with -3.

3) Another flag is set telling the Worksheet_Change event to populate cell Q2 with -5 on the next refresh.

Press alt-f11 to view the code.
User avatar
GaryRussell
Site Admin
 
Posts: 9776
Joined: Fri Nov 18, 2005 8:09 pm
Location: Birmingham, UK

Postby GaryRussell » Fri Mar 05, 2010 10:28 am

Here is an example for multiple worksheets. It will load the UK horse racing win markets in sheet1 and the place markets in sheet2.

https://www.gruss-software.co.uk/Excel/ ... _multi.xls

Note workSheetCount in module1 and the worksheet number in brackets next to triggerQuickPickListReload and triggerFirstMarketSelect on sheet1 and sheet2.
User avatar
GaryRussell
Site Admin
 
Posts: 9776
Joined: Fri Nov 18, 2005 8:09 pm
Location: Birmingham, UK


Return to Sample Triggered Betting Excel Sheets

Who is online

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