• RyanDev.com

  • Quickly Teach Yourself To Program Visual Basic for Applications (VBA) - Lessons

6th June 2008

Quickly Teach Yourself To Program Visual Basic for Applications (VBA) - Lessons

Here are some quick and easy to use tutorials if you are interested in learning VBA.  Please let me know if there are other topics you would like me to cover.  There are 6 modules and each has a series of attachments to download the full documentation and code samples.  Below are summaries of what each module covers.


Module 1

Introduction

The purpose of this module is to familiarize you with the Visual Basic Editor environment and to introduce some coding techniques. By the end of this module you should be able to accomplish the following tasks:

  • Arrange and navigate the Visual Basic Editor
  • Write and edit macros
  • Write code to respond to events
  • Recognize and have a basic understanding of the Object Model

Attachments: Module 1.doc


Module 2

Introduction

The purpose of this module is to introduce automation of Microsoft Office products. By the end of this module you should be able to accomplish the following tasks:

  • Automate one Office product from within a different Office product
  • Understand how to reference the Object Model of different Office products
  • Use debugging techniques
  • Implement error handling

Attachments: Module 2.doc; DataFile.xls


Module 3

Introduction

The purpose of this module is to allow you to put in practice lessons from Modules 1 and 2. Each of the examples listed here come from real calls that I have had. By the end of this module you should be able to accomplish the following tasks:

  • Write custom functions in Microsoft Excel
  • Play a sound in Excel when a cell changes
  • Format cells in a Word table

Attachments: Module 3.doc; Count Criteria.xls


Module 4

Introduction

The purpose of this module is to introduce user forms that can be used in VBA. By the end of this module you should be able to accomplish the following tasks:

  • Create a user form in Excel.
  • Create a user from in Word to pull data from Access.

Attachments: Module 4.doc; Count Formulas.xls; Addresses.mdb


Module 5

Introduction

The purpose of this module is to introduce VBA programming with Microsoft Access. By the end of this module you should be able to accomplish the following tasks:

  • Create a new Microsoft Access database from within Excel.

Attachments: Module 5.doc; Addresses.mdb


Module 6

Introduction

The purpose of this module is to introduce VBA in Microsoft Outlook and Microsoft PowerPoint. By the end of this module you should be able to accomplish the following tasks:

  • Create a user form in Excel.
  • Create a user from in Word to pull data from Access.

Attachments: Module 6.doc; Addresses.mdb


This entry was posted on Friday, June 6th, 2008 at 1:57 am and is filed under General Software Development, Microsoft Office. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

There is currently one response to “Quickly Teach Yourself To Program Visual Basic for Applications (VBA) - Lessons”

Why not let us know what you think by adding your own comment! Your opinion is as valid as anyone elses, so come on... let us know what you think.

  1. 1 On December 3rd, 2011, Jim Mellor said:

    I was looking for something to get me started with VBA. Many thanks for this.

Leave a Reply

  • Links

  • Calendar

  • February 2012
    S M T W T F S
    « Jan    
     1234
    567891011
    12131415161718
    19202122232425
    26272829