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.
Speed up your VBA code with this pair of macros from the wellsrPRO community. These subroutines can dramatically increase the speed of your VBA macros.
Use the VBA RemoveDuplicates method to remove duplicate rows from columns in Excel. The RemoveDuplicates method is a clever way to simplify a range of data.
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.
Here are three ways to remove multiple spaces in a string or a range using VBA. These macros will take 2 or more spaces and reduce them down to one space.
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.
You can scroll down, scroll to the top and scroll to a cell with the VBA ScrollRow, ScrollColumn, and SmallScroll properties. Follow this tutorial to learn how.
In this VBA tutorial, I show you two ways to remove duplicates from an array. The first method uses the scripting dictionary and the second uses collections.
To comment a block of lines in VBA, click View, Toolbars, and check the box beside Edit. New buttons for Comment Block and Uncomment Block will appear.
Use the VBA Application.StatusBar Property to display progress updates when your macro is running. The StatusBar progress updater is easy to implement.
Use VBA MacroOptions to add a description for your user-defined functions. These descriptions will appear with your UDF in the Excel Function Wizard dialog box.