Microsoft Excel: Visual Basic for Applications
(VBA) Macros | Intermediate
Microsoft Excel Training Series | Level 4
Duration: 2 days
Microsoft® Excel® Versions: 2007 | 2010 | 2013 | 2016 | 365
Delivery Methods: Instructor-led classroom (ILC) | Virtual classroom (VC) on request
Course Dates: TBA | View schedule
Course Fee: $595 CDN per person + HST or BYOD (bring your own device): $545 CDN person + HST*
Note: Public scheduled dates for this course are delivered as live instructor-led classroom training.
This intermediate course is designed for the user who wants to move beyond the basics of Visual Basic for Applications (VBA) to automate Microsoft Excel. Students will continue to use modules, procedures, variables and constants to create VBA macros. Nested If statements, select case, error handling and classes will be demonstrated using various examples. Students will run macros using different types of events including worksheet and workbook events. User forms will be created as well as user defined functions.
Prerequisite: Microsoft Excel: Visual Basic for Applications (VBA) Macros | Introduction or equivalent knowledge and skills.
Custom training: This course may be delivered at your site or ours as an instructor-led or virtual classroom solution. Contact us at firstname.lastname@example.org for more information including savings for custom group training.
Related training: View all Microsoft Excel courses
INCLUDED IN THIS COURSE
- Comprehensive course manual or published book
- Keyboard shortcuts quick reference
- Sample and exercise files
- Refreshments (for classes conducted in Avantix Learning classrooms)
- Certificate of completion
- Follow-up email support
Working with Variables and Ranges
- Private vs public declarations
- Setting defaults
- Determining types of ranges
- Working with variable-sized ranges
- Declaring range variables
- Moving and copying fixed or variable ranges
- Syntax of If statements
- Nesting If statements
Using Select Case
- Comparing SelectCase to If
- Nesting case statements
Working with Loops
- For loops
- For each loops
- Do While loops
- Do Until loops
Using Excel Events to Trigger Macros
- Using workbook events such as Open, Close, BeforeSave, and BeforePrint
- Using worksheet events such as SelectionChange, Change, and BeforeRightClick
- Running macros using non-object events such as OnTime and OnKey
- Monitoring the sequence of events
Creating Custom Functions
- Determining the number of arguments reqired
- Creating functions with no arguments
- Using custom functions in other procedures
- Using CurrentRegion and UsedRange
- Deleting empty rows or columns for an entire sheet or selected range
- Deleting rows or columns based on cell content
- Using an input box to select a range
Creating and Working with User Forms
- Creating a user form
- Overview of user form controls
- Using text boxes and labels
- Inserting combo boxes and list boxes
- Using frames, option buttons and check boxes
- Inserting command buttons, spin buttons and scroll bars
- Adding images
- Formatting user forms and controls
- Using user form events
- Designing Splash Screens
- Using form templates
- Creating multi-page forms
- Dealing with errors
- Using On Error Go To
- Resuming a macro
- Working with the Immediate window
Application Level Methods
- Performing application level methods
- Interacting with other applications such as Outlook and Microsoft Word
Working with Classes
- Overview of classes
- Creating a class
- Setting properties for a class
- VBA class instantiation
- Accessing VBA class properties
- Using VBA class methods
Copyright 2021 Avantix® Learning
You may like
You can quickly replace blank cells in Excel with zeros, dashes or other number or text values (0, -, N/A, Null or other text). It’s useful to fill blank cells with a number, symbol or value if you want to use the data set as the source for a pivot table or use other data analysis tools.
You can convert pounds to kilograms (lb to kg) or kilograms to pounds using formulas with operators or functions in Excel.
You can apply strikethrough to text or values in Excel to cross out or create a line through a cell or part of a cell. There are 3 common ways to apply strikethrough in your Excel worksheets – using a built-in keyboard shortcut, using the Font dialog box, or by adding a command to the Quick Access Toolbar.
Slicers are a great tool in Excel to filter tables or pivot tables. You can lock the position of a slicer in an Excel worksheet using a two-step process. First, select the slicer or slicers and Disable resizing and moving in the Format Slicer task pane (and choose other options based on your preferences). Second, protect the sheet using the Review tab in the Ribbon. There are a few important options you’ll need to select to get this to work.
You may also like
Starting in Microsoft PowerPoint 2013, you can use the Merge Shapes tool to crop an image to a circle. You can use either Intersect or Subtract to cut out a circle (or other shape) from a picture.
The outline has been an integral part of Microsoft PowerPoint for many years. It is dynamically linked to slide placeholders and is organized in a hierarchical way.
You can stop Word from changing formatting automatically in your documents by turning off AutoFormat As You Type settings in the AutoCorrect dialog box. If text or formatting is changing, there are several options you can turn off.
Microsoft, the Microsoft logo, Microsoft Office and related Microsoft applications and logos are registered trademarks of Microsoft Corporation in Canada, US and other countries. All other trademarks are the property of the registered owners.
Avantix Learning | 1 Yonge Street, Suite 1801 (Toronto Star Building), Toronto, Ontario, Canada M5E 1W7 | email@example.com