I developed the programs in this book using Excel 2003 for Windows. Although Excel and VBA don't change much from one version to the next, I can't guarantee that the programs in this book will execute without error in earlier versions of Excel. With each new version of Excel, VBA is updated with new objects, and existing objects are expanded with new properties and methods. If I use even one new object, property, or method specific to VBA-Excel 2003 in a program, then it will generate an error if executed in a previous version of Excel; therefore, you need Excel 2003—with VBA installed and activated—to use this book.
The chapter projects in this book feature the development of games using VBA with Excel. This is somewhat unusual in the sense that prior to writing this book, I had never seen an Excel application that runs any kind of a game; however, it does serve to make programming more fun. After all, what's the first thing anybody does when a new computer is purchased?
The answer: find the games that are installed and start playing. With this book, you get to write the program and then play the game. It actually works quite well. The games developed in this book illustrate the use of basic programming techniques and structures found in all programming languages as well as all of the common (and some less common) components in Excel.
Was this article helpful?