The VBA Tutorials Blog
Excel VBA Tutorials
Declare VBA Array of Strings using Split
Dec 22, 2016
This tutorial shows you how to declare and initialize a VBA array of strings using the Split function. This array of strings solution is compact and efficient.
VBA Mid to Extract Substring from String
Dec 21, 2016
The VBA Mid function extracts a substring from a string. VBA Mid accepts 3 arguments to define which substring you want to extract from your main string.
PDF VBA Excel Add-in
Dec 16, 2016
The PDF VBA Excel Add-in automatically converts your Excel sheets, ranges, tables and charts to PDFs. Rapidly export Excel objects into one or separate PDFs.
VBA FreeFile for Foolproof File IO
Nov 22, 2016
The VBA FreeFile function reserves the next available file number for VBA file IO. FreeFile returns an integer that you can use to open, read and write files.
Loop Through the Alphabet with VBA Asc and VBA Chr
Nov 11, 2016
Loop through the alphabet with the Excel VBA Asc and VBA Chr functions. Copy and paste this flexible macro into your own project to loop through the alphabet.
Improve VBA RTrim to Remove Trailing Spaces in Excel
Nov 4, 2016
The VBA RTrim function is a fast way to remove trailing spaces, but what if you want to trim all trailing whitespace, like new line characters and tabs?
VBA Write to Text File with Print Statement
Oct 28, 2016
Use VBA to write to a text file without quotes by using the Print Statement instead of the Write Statement. Creating text files is easy with VBA.
VBA Close UserForm with Unload Me
Oct 15, 2016
Close a UserForm with VBA by using the Unload Me VBA statement. You can also unload userforms with different names by replacing Me with the name of your form.
Use VBA to Mute, Unmute, Volume Up and Volume Down
Oct 8, 2016
Did you know you can use VBA to control your computers speakers? This tutorial shows you how to mute and unmute your volume and turn your volume up and down.
Dynamic Array with ReDim Preserve VBA
Oct 7, 2016
Make a dynamic array with the ReDim Preserve VBA statement. This tutorial will also show you how to make dynamic arrays with 2D and multidimensional arrays.
Coming Fall 2017
Auto-Import Macros Directly from wellsr.com
when you join the waitlist
Tell Me More
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
Excel VBA Assign Range to Array
Beautiful VBA Progress Bar with Step by Step Instructions
VBA Column Number to Letter
Excel VBA Delete Blank Rows
Transparent UserForm Background with VBA
VBA RoundUp WorksheetFunction to Round Up
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