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
Show Color Palette Dialog Box with VBA xlDialogEditColor
Jul 22, 2016
Now your Excel users can select their own colors when running your macro! I'll show you how to show a Color Palette Dialog Box using VBA xlDialogEditColor.
Export Outlook Contacts to Excel with VBA
Jul 11, 2016
Use VBA to export your Outlook Contacts to Excel. With VBA macros, you can choose which Outlook Address Book properties you want to export to Excel.
Application Volatile VBA to Recalculate Function
Jul 7, 2016
Placing Application.Volatile at the top of your custom VBA function makes your function recalculate each time a calculation occurs in another cell.
Check if Value is in Array using VBA
Jul 4, 2016
Check if a value is in an array with this VBA function. Use it to look for a string in a string array, an integer in an integer array, and more.
How to Change Another Cell with a VBA Function
Jul 1, 2016
Despite what others say, it is possible to change another cell with a VBA user-defined function. These UDFs put the results of the formula in a different cell.
VBA to Maximize Window in Left Monitor
Jun 28, 2016
Move your window to the left screen and maximize it with VBA. Placing your window in a consistent position is a must before using mouse control macros.
Open Folder using VBA and Show if Already Open
Jun 25, 2016
This macro opens a folder using VBA or shows the open window if the folder is already opened. Pass the macro a string with the folder you want to open.
Use Cimaware ExcelFIX to Recover Corrupted Excel File
Jun 17, 2016
Sometimes you can corrupt an Excel file while playing with advanced VBA features. Use Cimaware ExcelFIX to recover your corrupted Excel files.
Use IsEmpty VBA to Check if Cell is Blank
Jun 16, 2016
Use the IsEmpty VBA function to check if a cell is blank. When used on a range, the IsEmpty VBA function behaves like the Excel ISBLANK function.
IsNumeric VBA Function Checks if Cell is a Number
Jun 10, 2016
The IsNumeric VBA function checks if a cell is a number and returns True or False. The IsNumeric VBA function is a counterpart to the Excel ISNUMBER function.
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