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.
Extract the decimal part of a number with Excel VBA by using these macros submitted by a member of the wellsrPRO community.
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.
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.
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 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.
Combine PDFs with VBA using this macro. The simplicity of this tutorial illustrates how easy it is to use Adobe Acrobat to merge PDF files in Word and Excel.
Return the position of an element in an array with this function from the VBA code library. This UDF is a great tool to have when working with arrays.
Discover how easy it is to assign a range to an array using Excel VBA. You will also learn how to avoid common errors, like run-time error 13 type mismatch.
subscribe via RSS