The VBA Tutorials Blog
Excel VBA Tutorials
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.
Match Value in Range to Same Position in Another Range
Mar 11, 2017
Return the value in one range based on the relative position of a value in another range without the index, match or offset functions by using this Excel UDF.
Remove Window Border Title Bar around UserForm with VBA
Mar 10, 2017
This tutorial shows you how to hide the border on your UserForm using VBA. A UserForm without a title bar and X button are far cleaner than normal UserForms.
VBA to Only Allow Numbers in Cell or Range
Mar 3, 2017
Instead of using Data Validation, you can use VBA to allow only numbers in a cell or a range in Excel. Read on to learn how to restrict non-numeric characters.
Macro to Enable Trust Access to the VBA Project Object Model
Feb 4, 2017
You can programmatically enable trust access to the VBA project object model with this macro. Doing so allows you to add modules and write macros from a macro.
Wait Until a Key is Pressed with GetAsyncKeyState VBA
Jan 29, 2017
This tutorial shows you how to pause your macro until a key is pressed by calling the GetAsyncKeyState function in VBA. Use it to detect any key stroke.
VBA TextBox Numbers Only using Keypress KeyAscii
Jan 20, 2017
Learn how to restrict a VBA UserForm TextBox to numbers only using the VBA KeyPress event and KeyAscii argument. Negative numbers and decimals are also allowed.
ShowModal VBA vbModal and vbModeless
Dec 26, 2016
The ShowModal VBA property controls how a UserForm behaves when displayed. UserForms can be shown as vbModal or vbModeless by setting the ShowModal property.
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