Subscribe via RSS
Looking for Excel VBA Tutorials?

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.

Get your VBA Cheat Sheets

$120.00 $57.00

We've combined each of our comprehensive wellsrPRO VBA training reference guides into a single bundle with over 200 tips and macros covering the 125 most important topics in VBA.

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.

Extract VBA Substring with Mid Function

Dec 21, 2016

Extract a VBA substring from a string using the Mid function. 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.

New VBA Cheat Sheet!

$120.00 $57.00

We just added a 6th cheat sheet to our training bundle. With our new guide on VBA UserForms, our bundle now has over 200 tips like how to automate data extraction from text files, how to remove duplicates from an array, and how to dynamically populate a listbox.

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.

subscribe via RSS