Microsoft training courses | Wise Owl - home page

Phone (01457) 858877 or email

VBA macros blogs

Showing blogs 1-20 (out of 63)

Flappy Bird in Excel VBA Part 13 - Playing Sounds

Posted by Andrew Gould on 24 April 2014 | no comments
This part of the tutorial explains how to add sounds to the game using a Windows API function.
Tags:   VBA macros / General

Flappy Bird in Excel VBA Part 12 - Managing Game State

Posted by Andrew Gould on 24 April 2014 | no comments
This part of the tutorial implements a state system to make it easier to determine what actions to perform each time the game updates.
Tags:   VBA macros / General
In this part of the tutorial you'll learn how to make the game detect collisions between the bird and the obstacles.
Tags:   VBA macros / General

Flappy Bird in Excel VBA Part 10 - Creating Obstacles

Posted by Andrew Gould on 24 April 2014 | no comments
This part of the tutorial shows you how to add obstacles to the game and how to make them move across the screen.
Tags:   VBA macros / General
This part of the tutorial explains how to generate a game worksheet using code to define the playing area.
Tags:   VBA macros / General

Flappy Bird in Excel VBA Part 8 - Using Class Modules

Posted by Andrew Gould on 24 April 2014 | no comments
This part of the tutorial introduces the concept of class modules and shows you how to use them to organise your code.
Tags:   VBA macros / Classes

Flappy Bird in Excel VBA Part 7 - Creating Sprites

Posted by Andrew Gould on 11 April 2014 | no comments
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.

Flappy Bird in Excel VBA Part 4 - The Game Timing Loop

Posted by Andrew Gould on 11 April 2014 | no comments
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.

Flappy Bird in Excel VBA Part 2 - Basic Workbook Setup

Posted by Andrew Gould on 11 April 2014 | no comments
This part of the tutorial describes how to setup a basic workbook ready for you to start coding the Flappy Owl game.

Flappy Bird in Excel VBA Part 1 - Introduction

Posted by Andrew Gould on 11 April 2014 | no comments
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.

Flappy Bird in Excel VBA - Tutorial Index

Posted by Andrew Gould on 11 April 2014 | no comments
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!
Tags:   Excel / Excel Visual Basic   |   VBA macros / General
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").
Tags:   Excel / Excel Visual Basic   |   VBA macros / General
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!
Tags:   Excel / Excel Visual Basic   |   VBA macros / User forms

How to use environment variables like USERNAME in VBA

Posted by Andy Brown on 25 November 2013 | no comments
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.
Tags:   Excel / Excel Visual Basic   |   VBA macros / General

How to loop over enumerations in VBA

Posted by Andy Brown on 07 November 2013 | no comments
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!
Tags:   VBA macros / Excel Visual Basic   |   Excel / General
1-20   21-40   41-60   61-63  

All content copyright Wise Owl Business Solutions Ltd 2014. All rights reserved.