Course Objectives:
At the end of this course the participants will be able to:
- 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.
Targeted Audience:
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.
Day 1: MS Office Object Hierarchies and the Object Browser
- Objects, Collections, and Hierarchies.
- Properties, Methods, and Events.
- Using the Object Browser.
- MS Office Application Reference Libraries.
- Exercise I.
Day 2: Working within an MS Office Application
- VBA or Macro Recorder.
- Special Macros.
- Object Variables.
- Binding.
- Application Object Examples.
Day 3: User Defined Types, Classes and Arrays
- Introduction to User-Defined Types (UDTs).
- Creating a User-Defined Type.
- Creating a Class.
- Creating Array Variables.
- Using Arrays in Code.
Day 4: File and Folder Management using VBA
- Using the File System Object.
- Handling Folders using VBA.
- Create a Folder.
- Move, Rename, Copy or Delete a File.
- File or Folder Properties and Attributes.
Day 5: Interaction between MS Office Applications
- Classes.
- References.
- Working with Objects in another Application.
- Editing Documents across MS Office.
- Exercise II.
Day 6: Working with the Excel Range Object
- Range Objects Defined.
- Referencing Ranges using VBA.
- Dynamic Range Handling.
- Copying/Moving Range Data.
- Importing Data from a Delimited File or Web Page.
Day 7: Working with Data in Excel
- Excel and ADO.
- Data Types or Formatting.
- Validating Data.
- Filtering and Sorting Data with VBA.
- Using Worksheet Database Functions Excel Tables.
Day 8: Presenting Data in Excel
- Apply Conditional Formatting with VBA.
- Working with Charts.
- Pivot Tables.
Day 9: Programming Access with VBA
- Navigating the Access Object Hierarchy.
- Understanding Access Collections.
- Exercise III.
Day 10: Case-Study.
Language: English.
Place: London – UK.
Venue (TBC): Radisson Edwardian Sussex Hotel (Address: 19-25 Granville Place, Marylebone, London W1H 6PA – UK).