The VBA Tutorials Blog
Excel VBA Tutorials
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.
Prevent Runtime Error 438 in Outlook Application.FileDialog
Sep 24, 2016
The Application.FileDialog dialog boxes will fail with run-time error 438 when running from Outlook VBA. This tutorial shows you how to prevent the error.
VBA Select Folder with msoFileDialogFolderPicker
Sep 23, 2016
Use msoFileDialogFolderPicker to browse for and select a folder with VBA. msoFileDialogFolderPicker is part of the Application.FileDialog family in Excel.
VBA StrReverse to Reverse the Order of a String in Excel
Sep 9, 2016
The VBA StrReverse function reverses the order of a string in Excel. In other words, StrReverse writes your string backward so the string abc becomes cba.
Easily Extract Text Between Two Strings with VBA
Aug 31, 2016
Easily extract text between two strings with this VBA Function. This function can extract a substring between two characters, delimiters, words and more.
VBA Replace Function to Replace Characters in a String
Aug 28, 2016
Use the VBA Replace function to replace a substring of characters in a string with a new string. VBA Replace is similar to the Excel SUBSTITUTE function.
Replace Nth Occurrence of a Substring in a String with VBA
Aug 27, 2016
Replace the Nth occurrence of a substring in a string with this VBA UDF. Use it to replace the 2nd, 3rd, 4th or more instance of a string within another string.
Discover how this Nuclear Engineer Mastered Excel VBA
And why you should, too
Your time is valuable. It's time to become a VBA expert.
Subscribe to wellsr.com
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
Find the Closest Number in a Range with this VBA UDF
VBA Random Number with Rnd and Randomize
What You Need to Know about the VBA Round Function
Align Columns Differently in VBA UserForm ListBox
How to Assign a Macro to a Shape in Excel
Show System Tray Notification Balloon when Macro is Done
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