MS Office: Macro Programming Using VBA

In this course, you will learn the skills to enable you to use the Visual Basic for Applications (VBA) programming language to simplify or automate activities and tasks using the Microsoft Office 2007 - 2019 (365) applications. The course covers examples in Excel, Access, Word, and PowerPoint 2007 - 2019 (365).

 

  • Understand MS Office Object Hierarchies and the Object Browser
  • Work within an MS Office Application
  • Use User Defined Types, Classes and Arrays
  • File and Folder Management using VBA
  • Interaction between MS Office Applications
  • Work with the Excel Range Object
  • Work with Data in Excel
  • Present Data in Excel
  • Programming in Access with VBA

 

Delegates looking to gain enhanced skills to apply VBA to develop macros to work with Office applications. You will work with the application object models, manipulate data across applications, and manage files and folders using VBA.

 

  • Objects, Collections, and Hierarchies
  • Properties, Methods, and Events
  • Using the Object Browser
  • MS Office Application Reference Libraries

 

  • VBA or Macro Recorder
  • Special Macros
  • Object Variables
  • Binding
  • Application Object Examples

 

  • Introduction to User-Defined Types (UDTs)
  • Creating a User-Defined Type
  • Creating a Class
  • Creating Array Variables
  • Using Arrays in Code

 

  • Using the FileSystemObject
  • Handling Folders using VBA
  • Create a Folder
  • Move, Rename, Copy or Delete a File
  • File or Folder Properties and Attributes

 

  • Classes and References
  • Working with Objects in another Application
  • Editing Documents across MS Office

 

  • Range Objects Defined
  • Referencing Ranges using VBA
  • Dynamic Range Handling
  • Copying or Moving Range Data

 

  • Importing Data from a Delimited File or Web Page
  • Excel and ADO
  • Data Types or Formatting
  • Validating Data
  • Filtering and Sorting Data with VBA
  • Using Worksheet Database Functions
  • Excel Tables

 

  • Apply Conditional Formatting with VBA
  • Working with Charts
  • Pivot Tables

 

  • Navigating the Access Object Hierarchy
  • Understanding Access Collections

Related Courses