MS Office blogs from Wise Owl (page 1 of 7)

Showing blogs 1-20 (out of 135)

VBA code to create a chart and textbox, and copy them to Word

Posted by Andy Brown on 03 October 2014 | no comments

Charts in VBA are a bit weird: this blogs highlights some of their foibles, by showing how charts are really just special shapes, which contain shapes of their own!

Programmatically searching websites using VBA

Posted by Andy Brown on 19 September 2014 | no comments

I've already pinched (with permission!) the ideas of Fergus Cairns to explain ways to run automatic searches on popular websites like Google; this blog gives an update on the same topic.

Tags:   Excel | Excel Visual Basic    |    VBA macros | References

Revealing how Excel workbooks are actually stored as zipped XML files

Posted by Andy Brown on 16 May 2014 | no comments

Did you know that Excel workbooks are really just a collection of XML files, all zipped together? We didn’t either, so we thought we'd tell the world.

Tags:   Musings | Random musings    |    Excel | General

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

Flappy Bird in Excel VBA Part 11 - Detecting Collisions

Posted by Andrew Gould on 24 April 2014 | no comments

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

Flappy Bird in Excel VBA Part 9 - Creating the Game Sheet

Posted by Andrew Gould on 24 April 2014 | no comments

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.

Flappy Bird in Excel VBA Part 6 - Detecting Player Input

Posted by Andrew Gould on 11 April 2014 | no comments

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.

Flappy Bird in Excel VBA Part 5 - Starting and Ending the Game

Posted by Andrew Gould on 11 April 2014 | no comments

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.

Flappy Bird in Excel VBA Part 3 - Windows API Functions

Posted by Andrew Gould on 11 April 2014 | no comments

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.

How to create autoshapes, lines and connectors in VBA macros

Posted by Andy Brown on 25 January 2014 | no comments

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

Advice on how to scrape tables of data or HTML from webpages using VBA

Posted by Andy Brown on 13 January 2014 | no comments

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

Getting the Calendar control to work in Excel 2010 onwards

Posted by Andy Brown on 13 January 2014 | 1 comment

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