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.
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.
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.
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 the Excel VBA Asc and VBA Chr functions. Copy and paste this flexible macro into your own project to loop through the alphabet.
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?
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.
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.
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.
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.
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.
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.
subscribe via RSS