Instructional Video7:54
Curated Video

Excel VBA Programming The Complete Guide - The Byte, Integer and Long Data Types

Higher Ed
VBA has 3 options for whole numbers: Byte, Integer, and Long. Each data type supports a different range of numbers; Byte only supports any number from 0 to 256 while Long can store numbers in the billions. In this lesson, we practice...
Instructional Video5:53
Curated Video

Excel VBA Programming The Complete Guide - The Option Explicit Setting

Higher Ed
The Option Explicit setting at the top of a code module mandates that all variables be declared with a valid data type before being assigned a value. In this lesson, we compare a code sample with and without this setting enabled to see...
Instructional Video5:54
Curated Video

Excel VBA Programming The Complete Guide - The TypeName Method

Higher Ed
The VBA.TypeName method accepts an VBA object and returns its type as a string. In this lesson, we practice invoking the method in the Immediate Window with a variety of inputs including strings, numbers, and various Excel...
Instructional Video3:39
Curated Video

Excel VBA Programming The Complete Guide - Default Properties

Higher Ed
In this lesson, we'll explore the default properties on the Range and Application objects and discuss the benefits and disadvantages of explicitly writing them out.
r/>
This clip is from the chapter "The Fundamentals of the...
Instructional Video3:50
Curated Video

Excel VBA Programming The Complete Guide - The Value vs. Text Properties

Higher Ed
Sometimes, the way data is presented in the Excel interface is not the same way it is stored internally. In this lesson, we explore the Value and Text properties on the Range object. The former returns the actual data value while the...
Instructional Video5:59
Curated Video

Excel VBA Programming The Complete Guide - The Single and Double Data Types

Higher Ed
The Single and Double data types represent a floating point number or, in other words, a number with a fractional or decimal component. We discuss the advantages of the Double data type and use it in a procedure that calculates a...
Instructional Video3:29
Curated Video

Excel VBA Programming The Complete Guide - Methods without Arguments

Higher Ed
In this lesson, we'll explore three methods:

• The Workbooks.Add method to create a new Wor
kbook
• The Workbook.Save method to save a single
Workbook.
• The Range.Clear method to clear a range of values, styli
ng...
Instructional Video6:43
Curated Video

Excel VBA Programming The Complete Guide - Methods with Multiple Arguments

Higher Ed
Some object methods can accept multiple arguments. In this lesson, we continue exploring the Workbooks.Open method and two of its parameters -- FileName and ReadOnly. Arguments can be fed in sequentially or with named parameters --...
Instructional Video22:06
Curated Video

Generate Random Words in PowerPoint from Text File

Pre-K - Higher Ed
This video is a tutorial on how to create a resource using VBA in PowerPoint. The resource allows students to generate random pairs of words from a text file and challenges them to come up with a sentence connecting the two words. The...
Instructional Video6:55
Curated Video

Excel VBA Programming The Complete Guide - Procedure Scope (Public vs. Private)

Higher Ed
Differentiate between public vs private procedure.<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 Video8:05
Curated Video

Excel VBA Programming The Complete Guide - The Object Data Type

Higher Ed
A variable supports more than just primitive data types like numbers and strings. It can also be assigned to any object in the Excel Object Model -- a Worksheet, a Workbook, etc. The design allows for code to be tighter and leaner. In...
Instructional Video9:07
Curated Video

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

Higher Ed
The Range.Font property reveals a Font object complete with its own properties and methods. In this lesson, we explore several ways we can modify a font with VBA -- its name, its size, its bolding, and more!
r/>
This clip is...
Instructional Video6:24
Curated Video

Excel VBA Programming The Complete Guide - Get Last Row of Data in Worksheet

Higher Ed
Daily reports will often have a fluctuating number of rows. In this lesson, we introduce a convenient strategy to identify the last row of data in a sheet --- starting at the bottom of the spreadsheet and navigating upwards.
r/> ...
Instructional Video10:36
Curated Video

Excel VBA Programming The Complete Guide - Custom Functions

Higher Ed
In this lesson, we explore one of VBA's coolest features -- defining public custom functions that appear directly in the Excel interface.We dive into the syntax for declaring the function, identifying its expected arguments, and...
Instructional Video4:23
Curated Video

Excel VBA Programming The Complete Guide - The Parent Property on All Objects

Higher Ed
Coming full circle, we navigate from a Range object all to the way to the top of the Excel object model (the Application object) by relying on each object's Parent property. The property returns the object enclosing the current...
Instructional Video4:58
Curated Video

Excel VBA Programming The Complete Guide - The String Data Type

Higher Ed
A string is a collection of characters --- in layman's terms, it's just text. In this lesson, we take a look at VBA's support for two types of strings -- variable-length and fixed-length -- as well as the advantages of both.
r/> ...
Instructional Video3:38
Curated Video

Excel VBA Programming The Complete Guide - Activate a UserForm from Procedure

Higher Ed
The more we can abstract away the complexity of VBA from the regular Excel user, the better. In this lesson, we set up a graphic on our Excel interface to trigger the UserForm to appear.
r/>
This clip is from the chapter "User...
Instructional Video8:17
Curated Video

Excel VBA Programming The Complete Guide - Workbook Events and The Sh Argument

Higher Ed
The Workbook event has its own set of event procedures. One common trend in their signatures is the presence of a Sh argument, which represents the sheet on which the event has been triggered. In this lesson, we construct a dynamic...
Instructional Video3:28
Curated Video

Excel VBA Programming The Complete Guide - Review of Application.EnableEvents

Higher Ed
The Application.EnableEvents property is used to enable and disable Excel events (automatic actions that are triggered by user interactions). In this lesson, we discuss the benefits of temporarily disabling this feature in an event...
Instructional Video6:28
Curated Video

Excel VBA Programming The Complete Guide - Intro to Arrays

Higher Ed
In this section, we'll explore the array, the most popular data structure in computer science. An array is a sequenced collection of elements, each of which is assigned an index position. In this lesson, we create a fixed-size array of...
Instructional Video9:02
Curated Video

Excel VBA Programming The Complete Guide - The Visual Basic Editor

Higher Ed
In this lesson, we explore the components of the Visual Basic Editor, including the Project Explorer, which lists all open workbooks and worksheets as well as all modules (containers for code). Properties Window, which can be used to...
Instructional Video6:00
Curated Video

Excel VBA Programming The Complete Guide - StatusBar

Higher Ed
The StatusBar is an information bar located on the bottom left of the Excel interface. In this lesson, we run a long procedure and use the StatusBar to provide updates to the user on its completion status.
r/>
This clip is from...
Instructional Video5:54
Curated Video

Excel VBA Programming The Complete Guide - The Range.Delete Method

Higher Ed
Most deletion operations will involve removing entire rows or columns at a time. In this lesson, we discuss how to make that happen in VBA as well as what happens when we delete a single cell instead.
r/>
This clip is from the...
Instructional Video9:53
Curated Video

Excel VBA Programming The Complete Guide - R1C1 Notation, Part I

Higher Ed
R1C1 notation is a different way of thinking about cells in Excel. Instead of using a letter for the column and a row for the number, R1C1 relies on numbers for both. In this lesson, we enable R1C1 notation in our Excel interface and...