VBA macros blogs
Showing blogs 1-20 (out of 63)
This part of the tutorial explains how to add sounds to the game using a Windows API function.
This part of the tutorial implements a state system to make it easier to determine what actions to perform each time the game updates.
In this part of the tutorial you'll learn how to make the game detect collisions between the bird and the obstacles.
This part of the tutorial shows you how to add obstacles to the game and how to make them move across the screen.
This part of the tutorial explains how to generate a game worksheet using code to define the playing area.
This part of the tutorial introduces the concept of class modules and shows you how to use them to organise your code.
This part of the tutorial describes how to draw simple images using a worksheet as the canvas. You'll also see how to include the images in the game.
This part of the tutorial describes how to respond to keys pressed by the player. You'll learn about the Application.OnKey method and the GetAsyncKeyState Windows API function.
This part of the tutorial adds a basic menu system with ActiveX command buttons to start and stop the game.
This part of the tutorial describes how to set up a timing loop which allows the game to update continuously.
This part of the tutorial describes how to make use of Windows API functions to extend the power of Excel VBA.
This part of the tutorial describes how to setup a basic workbook ready for you to start coding the Flappy Owl game.
This part of the Flappy Bird in Excel VBA Tutorial introduces you to the Flappy Owl game and provides download links and instructions to get it running in Excel on your machine.
This is the main index page for the Flappy Bird in Excel VBA tutorial. Here you can find links to all of the articles which comprise the tutorial.
You can use Visual Basic within Excel, PowerPoint or Word to draw shapes, format them and even assign macros to run - this long blog gives lots of ideas of how to proceed!
You can use VBA to extract data from web pages, either as whole tables or by parsing the underlying HTML elements. This blog shows you how to code both methods (the technique is often called "web-scraping").
The calendar control for user forms is built into versions of Excel up to 2007, but has to be imported for later versions - this blog shows how to do this!
You can get at all sorts of system information within Visual Basic for Applications by using environment variables - this blog shows you how to get at your user's name, computer name and much more besides.
A short blog explaining how to use Visual Basic for Applications to loop over enumerations.
Deep within its bowels Excel contains a feature allowing it to read out the contents of cells (you can also get your VBA macros to talk to users). This blog goes to those deep places hidden within Excel!