Tony from Dyrham and Hinton CC is a home build electronic scoreboard pioneer, having built his own fantastic electronic scoreboard, set with manual dials on the back of the board, several years before we did.
When Tony stumbled across our site, he started working on updating his existing board to make use the Arduino and shifter design outlines on this site. As part of the project, Tony sent me a copy of the Laver and Wood excel scorebook. Laver and Wood are a bat manufacturing company from New Zealand, and Mike W (the original author) was a student when he started to develop the VBA code built in to the excel sheet, around 10 years ago.
The scorebook allows you to score a cricket match using excel. It has a very simple interface, and keeps tracks of lots of interesting stats. It also acts as a permanent record of a cricket match, as scorebooks are saved for the specific game.
I had a quick look at how the scorebook worked, and then we started work on integrating it with the electronic scoreboard by adding in lots of VBA code. I am very happy with the way the integration works, and Michael W (the original author) very kindly gave us permission to upload the new version to the website to share with the scoreboard building community!
In order to make the excel sheet to work, you will need a Windows laptop running a Excel 2007 or above (I tested and developed with excel 2010). You can then download the scorebook and the helpfile from our site.
Using the worksheet
Once you have unzipped the file in to a suitable directory, you will see the Scorebook with External Scoreboard.xltm file. This is a template file that you can use to start a new game
Once you have virus checked it, you can open it with excel. Open the file by double clicking on it. The first time it is opened you might get a macro warning error, which you should acknowledge to enable the scorebook to work correctly.
Once opened you will be shown the new game form. You can edit the type of game, and the players by typing in to the form.
Once you click Ok the scorebook is started and you can click the buttons in the middle of the Main Scoreboard page each time a ball is bowled. You should now score the game, and then at the end of the day you should save the file. When you open the template, it will automatically start a new workbook for you, so you wont be overwriting the original.
When you save the sheet, you must select the xlsm file format to prevent excel from disabling the macros and code that make the scorebook work.
Please note: I have had problems with the sheet crashing excel, but think I have weeded out most of the problems introduced by integrating the external board. However, it is best to use this spreadsheet alongside a physical scorebook, just in case. You have been warned!
We have modified the worksheet so that it will automatically update the scoreboard as the game progresses. You will still need to set up your scoreboard, following the instructions on the https://buildyourownscoreboard.wordpress.com/setting-up-the-arduino/ and https://buildyourownscoreboard.wordpress.com/setting-up-the-raspberry-jessie/ pages. Once you have a fully working scoreboard you can use the excel integration (remember you can always use the web interface as a backup just in case something goes wrong).
Set up the laptop to connect to the scoreboard over wifi (preferred method), or plug the Arduino directly in to the laptop via a USB cable.
Once the scorebook is opened you can enable our scoreboard integration, click on the External Scoreboard tab.
On this page you can enable the external scoreboard. There are lots of options that allow you to choose if you use Wifi to connect to the board, or even a USB cable to plug directly in to the Arduino. Use the mouse-overs (marked with a red symbol in the corner of the cell) to help you understand which settings to apply. The integration supports both the Westbury and Bradford upon Avon web interfaces
That’s it! Now once you change the main scoreboard tab in the worksheet, the scoreboard should automatically update!
Setting up the worksheet template for your long term use
It is possible to just download the workbook, and just start using it. However, I suspect you will quickly find it annoying that you need to set up the external scoreboard integration for every game, or that you have to personalise the game type every time you open a new sheet.
Editing the template file is quite easy, and will allow you to customise the external scoreboard integration settings and other club details. To do this, first open excel to get to a blank worksheet (don’t double click on the template). Now click file, open and select the template file.
This will open the template file, and will stop excel from loading it as a new sheet. Click cancel on the New Game form. Now that the template file is opened, you can change the default settings on the External Scoreboard sheet. Save the file when you have finished.
Before you close the file, you will need to update a setting on the Main Scorebook tab. If you don’t update this setting then when you open the template it wont start a new game automatically (and excel may crash). To do this click on the Main Scorebook tab. Click on the Name Box, and manually type in cell AG18. Press Enter.
Now from the format menu, choose Unprotect Sheet.
Now save the file. Don’t worry about protecting the sheet again, the scorebook automatically does this every time it is opened (to stop over zealous scorers from editing things they shouldn’t!).
Now every time you open the scorebook, it should now have automatically apply your external scoreboard settings!