Instructional Video3:54
Curated Video

Excel VBA Programming The Complete Guide - Procedures with Boolean Arguments + The Workbook_BeforePrint Event

Higher Ed
Some event procedures feature a Cancel Boolean argument that can cancel a specific operation by being set to True in the body of the procedure. In this lesson, we try this out with the BeforePrint event procedure.
r/>
This clip...
Instructional Video2:51
Curated Video

Excel VBA Programming The Complete Guide - The Workbook_Open Event

Higher Ed
The Workbook_Open event is triggered when a workbook is opened -- it can be an effective way to welcome a user or run a procedure. In this lesson, we utilize this feature in a new event procedure.
r/>
This clip is from the...
Instructional Video4:38
Curated Video

Excel VBA Programming The Complete Guide - Date and Time Functions

Higher Ed
In this lesson, we explore the Date, Time and Now functions for retrieving the current date and/or time as well as the DateSerial function for generating a specific date in time.
r/>
This clip is from the chapter "Functions" of...
Instructional Video9:56
Curated Video

Excel VBA Programming The Complete Guide - The Is Family of Functions

Higher Ed
VBA package several functions to determine if a value is of a certain data type. In this lesson, we explore the IsNumeric, IsDate, IsEmpty, and IsError functions and use them to populate a table on our spreadsheet.
r/>
This...
Instructional Video6:59
Curated Video

Excel VBA Programming The Complete Guide - The MsgBox Method In Depth, Part II

Higher Ed
Continuing where we left off in the previous lesson, we wire up the buttons in a sample MsgBox to follow different branches of logic in our VBA code using the If conditional.
r/>
This clip is from the chapter "Miscellaneous...
Instructional Video7:09
Curated Video

Excel VBA Programming The Complete Guide - The Step Keyword

Higher Ed
The Step keyword can iterate with a different increment or decrement after each cycle of the loop. In this lesson, we experiment with a syntax and write a procedure that colors every second row yellow.
r/>
This clip is from the...
Instructional Video4:05
Curated Video

Excel VBA Programming The Complete Guide - The If Then Statement

Higher Ed
The conditional If statement is the heart of programming. It allows our macro to have multiple branches --- different pathways to take depending on a given condition. In this lesson, we explore the technical syntax for implementing an...
Instructional Video3:54
Curated Video

Excel VBA Programming The Complete Guide - The Range.Resize Property

Higher Ed
The Range.Resize changes the size of a range based on the location of a single cell. It can be used to dynamically increase the size of a cell range in the vertical direction, horizontal direction, or both.
r/>
This clip is...
Instructional Video2:54
Curated Video

Excel VBA Programming The Complete Guide - Default Values for Declared Variables

Higher Ed
In this lesson, we take a look at the default values for the String, Long, Double and Boolean data types.
r/>
This clip is from the chapter "Variables and Data Types" of the series "Excel VBA Programming–The Complete...
Instructional Video9:32
Curated Video

Excel VBA Programming The Complete Guide - The Workbook.SaveAs and Workbook.Save Methods

Higher Ed
In this lesson, we walk through the complete process of creating a new workbook, saving it, making changes, saving it again, and closing it. We introduce the SaveAs and Save methods on the Workbook object and explore their different...
Instructional Video9:31
Curated Video

Excel VBA Programming The Complete Guide - Variable Scope

Higher Ed
Variables have scope, which describes the boundary or context in which the variable can be used. In this lesson, we explore the 3 types of variable scope:

• local / procedure / macro scope - variables declared in a procedure...
Instructional Video6:38
Curated Video

Excel VBA Programming The Complete Guide - Unload and Hide a UserForm

Higher Ed
There are two ways to "shut down" a UserForm: unloading, which clears all of its data and hiding, which hides it from the screen but preserves the user's inputs. In this lesson, we wire up our two Command Buttons to utilize these two...
Instructional Video10:42
Curated Video

Excel VBA Programming The Complete Guide - Select Case

Higher Ed
Multiple If statements can quickly clutter up a procedure. The Select Case construct offers a convenient alternative. In this lesson, we'll explore the syntax for Select across a variety of examples.
r/>
This clip is from the...
Instructional Video4:19
Curated Video

Excel VBA Programming The Complete Guide - The Application.ScreenUpdating Property

Higher Ed
The Application.ScreenUpdating property can be set to False to disable updates to the Excel interface. One way to optimize the speed of a macro is to turn the property off at the beginning of execution and reenable it at the end. In...
Instructional Video7:27
Curated Video

Excel VBA Programming The Complete Guide - The NOT Operator

Higher Ed
The NOT operator reverses a Boolean value. In this lesson, we use it to design our own implementation of Excel's bolding feature.
r/>
This clip is from the chapter "Conditionals" of the series "Excel VBA Programming–The...
Instructional Video5:05
Curated Video

Excel VBA Programming The Complete Guide - The Range.Offset Property

Higher Ed
The Range.Offset property shifts the currently selected range to a new one. It accepts two arguments -- the number of rows and the number of columns to move. Positive arguments represent downward movements for rows and rightward...
Instructional Video5:56
Curated Video

Excel VBA Programming The Complete Guide - The Workbooks.Add Method

Higher Ed
In this lesson, we invoke the Workbooks.Add method to create a new workbook from scratch. We also pass it an optional Template argument to make a copy of an existing workbook.
r/>
This clip is from the chapter "Object Deep...
Instructional Video7:15
Curated Video

Excel VBA Programming The Complete Guide - Procedures with Arguments

Higher Ed
Learn to handle arguments.<br/<br/>>

This clip is from the chapter "Procedures" of the series "Excel VBA Programming–The Complete Guide".We look into variable scopes in procedures.
Instructional Video13:40
Curated Video

Excel VBA Programming The Complete Guide - Visual Basic Editor Options

Higher Ed
The Visual Basic Editor includes a complex set of options that cover everything from syntactical help with the code to visual aesthetics. In this lesson, we'll explore all of the available options and configure a setup that is ideal...
Instructional Video8:19
Curated Video

Excel VBA Programming The Complete Guide - The initialize Event

Higher Ed
The initialize event shoots off before the UserForm is rendered. It can be used to calculate configure dynamic values. In this lesson, we create a new form that displays the current day of the week when it loads.
r/>
This clip...
Instructional Video6:21
Curated Video

Excel VBA Programming The Complete Guide - The Worksheet_SelectionChange Event

Higher Ed
The Worksheet_SelectionChange event is triggered when the user navigates to a different cell with a spreadsheet. In this lesson, we react our first Excel event and also explore the ByVal keyword in the automatically generated...
Instructional Video6:06
Curated Video

Excel VBA Programming The Complete Guide - Breakpoints

Higher Ed
Breakpoints force a procedure to halt execution at one or more specified lines. In this lesson, we practice enabling and disabling breakpoints in our code.
r/>
This clip is from the chapter "Debugging" of the series "Excel VBA...
Instructional Video6:07
Curated Video

Excel VBA Programming The Complete Guide - More Date and Time Functions

Higher Ed
In this lesson, we continue our exploration of additional datetime functions on the VBA helper object including Year, Month, Day, Hour, Minute, and Second. We also dive into the Weekday, WeekdayName and MonthName functions to discover...
Instructional Video8:03
Curated Video

Excel VBA Programming The Complete Guide - The MsgBox Method In Depth, Part I

Higher Ed
In this lesson, we dive deeper into the MsgBox method including its Buttons and Title parameter. We modify the aesthetics of the alert, including the clickable buttons and the information icon.
r/>
This clip is from the chapter...