Microsoft Excel Macros & VBA
-
The teacher kept the session moving, it was fun and easy to understand!
← | →
-
Great course and excellent trainer.
← | →
-
I'm looking forward to do my next course here!
← | →
Course
In London
Description
-
Type
Course
-
Level
Intermediate
-
Methodology
Inhouse
-
Location
London
-
Duration
2 Days
-
Start date
Different dates available
At the end of this course you will be able to:
Record and edit a Macro
Assign macros to keyboard shortcuts, Quick Access Toolbar, Buttons and Shape objects.
Use the Visual Basic Editor; change the properties of an object; add a module to a project; write the code for a procedure and then run it; and use the Object Browser to search procedures
Manipulate data by declaring variables of different data types; combine data by using expressions; use functions to accept input and display output; and declare variables and procedures with the appropriate scope
Use decision structures to create procedures that make decisions; and use loop structures to perform repetitive tasks
Create an error handling routine in case things go wrong with VBA code
Facilities
Location
Start date
Start date
About this course
This course is designed to give proficiency in the Visual Basic Editor (VBE), predominantly making use of Excel objects, understanding Object's Properties, Events and Methods, basic VBA Object oriented programming, event handling, control structures, and debugging tools.
Preferably, delegates should have attended the Excel Advanced course.
Reviews
-
The teacher kept the session moving, it was fun and easy to understand!
← | →
-
Great course and excellent trainer.
← | →
-
I'm looking forward to do my next course here!
← | →
Course rating
Recommended
Centre rating
Paul Askham
Tracy Preston
Ellie Preston
Amanda Morris
Perdinand Reagan
Simon Harper
Subjects
- Microsoft excel training
- Visual Basic
- Microsoft Excel
- Visual Basic training
- Access
- Excel
- Options
- Database
- MS Excel
- Formatting
- Excel Formulas
- Excel Tables
- Text Functions
- Date Functions
- Quick Analysis
- Calculated columns
- Converting Tables
Course programme
Introduction to Macros and VBA
- Introducing Visual Basic for Applications
- Recording a Macro
- Naming conventions for Macro Procedures
- Running a Macro
- Absolute or Relative Cell Referencing
- Saving and Opening Files with Macros
- Making macros always available
- Adding Macros to Keyboard Shortcuts, Quick Access Toolbar, Buttons and Shapes
- Editing a Macro in the Visual Basic Editor
- Understanding the Development Environment
- Customising the Editor
- Tips for General Typing in VBA
- Using Visual Basic Help
Working with Procedures
- Program Design
- Understanding Modules
- Naming Rules
- Creating a Module
- Understanding Procedures
- Programming Macro Concepts
- Creating a Subroutine
- Creating a Function
- Understanding Arguments
- Exiting Procedures
- Calling Procedures
Objects, Properties, Methods and Events
- Understanding Objects Properties, Methods, and Events
- Navigating the Object Hierarchy
- Understanding Collections
- Accessing a Member of a Collection
- Understanding Hierarchy
- Using the Object Browser
- Using the With Statement
- Working with Properties
- Working with Methods
- Creating an Event Procedure
- Reserved Macro Names
Using Expressions, Variables and Intrinsic Functions
- Understanding Expressions and Statements
- Declaring Variables
- Understanding Data Types
- Determining the Value of Variables
- Working with Variable Scope
- Using Built-in VBA Functions
- Understanding Constants
- Using Message Boxes
- Controlling the Answer to a Message Box
- Using Input Boxes
- Declaring and Using Object Variables
Controlling Program Execution
- Understanding Control-of-Flow Structures
- Using the If...End If Decision Structures
- Nested If Statements
- Using the Select Case ... End Select Structure
- Using the Do ... Loop Structure
- Using the For ... Next Structure
- Using the For Each ... Next Structure
- Guidelines for Use of Control-of-Flow Structures
Debugging and Handling Errors
- Understanding Errors
- Using Debugging Tools
- Setting Breakpoints and Using Break Mode
- Stepping Through Code
- Trapping Errors with the On Error Statement
- Understanding the Err Object
- Working with Inline Error Handling
- Writing an Error-Handling Routine
Working with Forms and Controls
- Understanding UserForms
- Creating a Form
- Displaying and Removing a Form
- Aligning and Sizing Controls
- Using the Toolbox
- Working with a Form's Properties, Methods, and Events
- Working with Form and Control Properties, Methods and Event
- Setting the Tab Order
- Populating a Control
Additional information
Microsoft Excel Macros & VBA