The VBA Tutorials Blog
Learn VBA Code Online for Free
Each VBA Tutorial contains macro examples to help you learn VBA code quickly. Follow these VBA tutorials to learn basic and advanced Excel macro programming.
Excel VBA Tutorials
Excel VBA Delete Blank Rows
Jul 14, 2017
Delete blank rows in Excel with this VBA macro. There are dozens of way to delete blank rows in Excel. The macro in this tutorial is a fast way to do it.
Transparent UserForm Background with VBA
Jul 4, 2017
Make a VBA UserForm with a transparent background with these macros. You can also make the background of your controls transparent by following this tutorial.
VBA RoundUp WorksheetFunction to Round Up
Jun 30, 2017
Round Up with VBA by using the Excel RoundUp function. By calling the Worksheet Function, your VBA macro will round numbers up just like in Excel.
Find the Closest Number in a Range with this VBA UDF
Jun 21, 2017
Pass this VBA function a range of cells and a number that you want to find a number closest to and it will return the value in the range closest to your target.
VBA Random Number with Rnd and Randomize
Jun 9, 2017
Generate random numbers in VBA by using the Rnd function. Make the numbers even more random by adding the VBA Randomize statement.
What You Need to Know about the VBA Round Function
Jun 2, 2017
The VBA Round function behaves differently than the Excel Worksheet ROUND function. This tutorial explains the differences between the two rounding functions.
Align Columns Differently in VBA UserForm ListBox
May 12, 2017
Learn how you can align the text in each column of your UserForm ListBox differently by using the class module I introduce in this tutorial.
How to Assign a Macro to a Shape in Excel
May 5, 2017
Find out how to assign a macro to a shape in Excel so you can quickly run your macro by simply clicking the shape in your spreadsheet.
Show System Tray Notification Balloon when Macro is Done
Apr 7, 2017
Learn how to show a system tray notification balloon in your start menu the moment your macro is done by following this awesome Excel VBA tutorial.
VBA Dir Function to Check if File Exists
Apr 1, 2017
Use the VBA Dir function to check if a file exists. The VBA Dir function returns the name of a valid file, so you can use it to test whether a file exists.
Get these macros delivered right to your spreadsheet for free
Access tutorials and import my macros without ever leaving Excel
Show me - It's free
Sign up for my Mastering VBA Newsletter
And get the power of wellsr.com right in Excel with a FREE copy of my Excel Add-In.
Most Popular Posts
3 Ways to Call a Private Sub from Another Module
Run Excel Macro Without Opening Excel
Open and Close File with VBA Shell
Create an Excel Splash Screen for your Spreadsheet
The Complete Guide to Excel VBA Form Control Checkboxes
Make Dot Grid Paper with Word Document
Latest Blog Posts
VBA Scroll with ScrollRow and ScrollColumn
VBA - Remove Duplicates from Array
VBA Comment Block of Lines
VBA Application.StatusBar to Mark Progress
VBA MacroOptions to Add UDF Description
Combine PDFs with VBA and Adobe Acrobat
Excel VBA Tutorials
Chapter 1: Getting Started
Enable Developer Tab
Open Visual Basic Editor
Create your first Macro
Recording a Macro
Chapter 2: Getting Around
Select and Selection
Chapter 3: Variables and Data Types
VBA Data Types
Variable Scope & Lifetime
More Excel VBA Tutorials