Hi, what do you want to do?
Curated Video
Excel VBA Programming The Complete Guide - The Range.Rows and Range.Columns Properties
In this lesson, we explore the Rows and Columns properties, which are available on both the top-level Application object and a specific Range. The two can be used to target complete rows or columns, within the spreadsheet or within a...
Curated Video
Excel VBA Programming The Complete Guide - The Workbook.Activate Method
In this lesson, we invoke the Workbook.Active method to simulate a user click on a workbook and make it the ActiveWorkbook. We also review the ActiveSheet property, which targets the currently highlighted worksheet.
r/>
This...
r/>
This...
Curated Video
Excel VBA Programming The Complete Guide - The Exit Sub Keywords
The Exit Sub keywords terminate a procedure prematurely, before it reaches its last line of code. It's an effective technique to combine with conditional logic --- proceed if all the pieces fall into place, exit otherwise. In this...
Curated Video
Excel VBA Programming The Complete Guide - The CommandButton Control
The CommandButton is a clickable button that trigger an event procedure. In this lesson, we add 3 buttons to our form -- Submit, Cancel and Hide.
r/>
This clip is from the chapter "User Forms" of the series "Excel VBA...
r/>
This clip is from the chapter "User Forms" of the series "Excel VBA...
Curated Video
Excel VBA Programming The Complete Guide - The ListBox Control I - Wire up the Form
In the first of a 3-part series, we introduce the ListBox form control for displaying a list of predefined values for the user to choose from. We hardwire our list to show the names of all of the workbook's sheets.
r/>
This...
r/>
This...
Curated Video
Excel VBA Programming The Complete Guide - The OnError and GoTo Keywords
The On Error Go To keywords redirect the pathway of a procedure to a specially designated section. In this lesson, we set up an example and discuss why the Exit Sub keywords have to be used to avoid running into the code...
Curated Video
Excel VBA Programming The Complete Guide - VBA Functions, Part I
The VBA object includes many helper methods to assist the developer with common utility operations. In this lesson, we explore the LCase, UCase, Len, Trim, and InStr methods for working with strings.
r/>
This clip is from the...
r/>
This clip is from the...
Curated Video
Excel VBA Programming The Complete Guide - The LBound and UBound Methods
The LBound and UBound methods return the smallest and greatest index positions of an array. In this lesson, we utilize these values to write a flexible, dynamic loop procedure.
r/>
This clip is from the chapter "Arrays" of the...
r/>
This clip is from the chapter "Arrays" of the...
Curated Video
Excel VBA Programming The Complete Guide - Initialize Arrays within a For Loop
Arrays can easily be populated with values from the worksheet using a basic For loop. In this lesson, we perform a popular string cleaning operation --- trimming the leading and trailing whitespace of a string -- on a column of values...
Curated Video
Excel VBA Programming The Complete Guide - The Range.ColumnWidth and Range.RowHeight Properties
The Range.ColumnWidth and Range.RowHeight properties can resize the row and height of one or more columns or rows. In this lesson, we play around with these features in the Immediate Window.
r/>
This clip is from the chapter...
r/>
This clip is from the chapter...
Curated Video
Excel VBA Programming The Complete Guide - The Workbook. Method
The Workbook. method accepts a SaveChanges parameter; pass it a Boolean value of True to save the workbook before closing. In this lesson, we practice this concept by writing values to our red and blue workbooks.
r/>
This clip...
r/>
This clip...
Curated Video
Excel VBA Programming The Complete Guide - The Workbooks.Open Method and Workbook.Path Property
In this lesson, we offer a review of the Workbooks.Open method and introduce the Workbook.Path property. The former is used to open a single workbook while the latter is used to identify the direction that a workbook exists in. It's...
Curated Video
Excel VBA Programming The Complete Guide - Call A Procedure from Another one
Learn more about calling 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.
This clip is from the chapter "Procedures" of the series "Excel VBA Programming–The Complete Guide".We look into variable scopes in procedures.
Curated Video
Excel VBA Programming The Complete Guide - The CheckBox Control
The Checkbox is an ideal form control for simple Yes or No questions. In this lesson, we create a new UserForm that allows the user to choose to clear cells and / or save the workbook. We also dive a bit into modifying the aesthetics...
Curated Video
Excel VBA Programming The Complete Guide - The ListBox Control III - Select Multiple Items
The ListBox offers a way for the user to select more than one option. In this lesson, we enable this setting and configure our code to delete all the worksheets that a user selects from the list.
r/>
This clip is from the...
r/>
This clip is from the...
Curated Video
Excel VBA Programming The Complete Guide - The Range.RemoveDuplicates Method
The Range.RemoveDuplicates method removes the repeating occurrences of a value in a given range. In this lesson, we use it to clear a list of duplicate names and show how arrays can be fed as arguments to methods.
r/>
This clip...
r/>
This clip...
Curated Video
Excel VBA Programming The Complete Guide - The Worksheet.Move Method
The Worksheet.Move method moves a worksheet to a different position in the order of workbook sheets. In this lesson, we explore the signature of the method including its familiar Before and After parameters.
r/>
This clip is...
r/>
This clip is...
Curated Video
Excel VBA Programming The Complete Guide - The Worksheets.Add Method
The Worksheets.Add method creates a new worksheet in the current Workbook. It accepts either one of two optional arguments, Before and After, that determine where the new worksheet will be placed.
r/>
This clip is from the...
r/>
This clip is from the...
Curated Video
Excel VBA Programming The Complete Guide - The Boolean Data Type
In this lesson, we practice declaring a procedure with Boolean variables and discuss the contexts in which they can be used.
r/>
This clip is from the chapter "Variables and Data Types" of the series "Excel VBA...
r/>
This clip is from the chapter "Variables and Data Types" of the series "Excel VBA...
Curated Video
Excel VBA Programming The Complete Guide - Methods with Arguments
In this lesson, we use the official Microsoft Developer Network documentation to look up the Worksheet object and the Protect method. We discuss the idea of method parameters, which are names we give to expected inputs. We also explore...
Curated Video
Excel VBA Programming The Complete Guide - Submit the UserForm
In this lesson, we wire up the final Command Button on our UserForm to capture the user's input and populate it on the spreadsheet.
r/>
This clip is from the chapter "User Forms" of the series "Excel VBA Programming–The...
r/>
This clip is from the chapter "User Forms" of the series "Excel VBA Programming–The...
Curated Video
Excel VBA Programming The Complete Guide - The ListBox Control II - React to User Selection
In this lesson, we wire up a Command Button event procedure to delete the single worksheet the user has selected from the ListBox.
r/>
This clip is from the chapter "User Forms" of the series "Excel VBA Programming–The...
r/>
This clip is from the chapter "User Forms" of the series "Excel VBA Programming–The...
Curated Video
Excel VBA Programming The Complete Guide - Add Event Procedure to Control
In this lesson, we create our first event procedure to react to the Change event on our Textbox. Upon any user edit, it outputs the current entry to the Immediate Window.
r/>
This clip is from the chapter "User Forms" of the...
r/>
This clip is from the chapter "User Forms" of the...
Curated Video
Excel VBA Programming The Complete Guide - The Object Browser
In this lesson, we play around with the Object Browser and see how we can use it access online documentation on the MSDN as well.
r/>
This clip is from the chapter "Objects and Methods" of the series "Excel VBA...
r/>
This clip is from the chapter "Objects and Methods" of the series "Excel VBA...