This tutorial will show you how to check if a folder exists and create the folder with the VBA MkDir statement if it doesn't exist.
Change your VBA MsgBox text color by using the SetSysColors user32 API function. This macro example makes changing your MsgBox text color extremely easy.
We've combined each of our comprehensive wellsrPRO VBA training reference guides into a single bundle with over 180 tips and macros covering the 100 most important topics in VBA.
Tell me more
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.
Forgot to set your Outlook Out of Office Automatic Reply? You can enable it remotely from your smartphone with VBA. Follow this tutorial to learn how.
Use Excel to record your mouse clicks and cursor movements and convert them directly into VBA macros so you can easily automate complex tasks, like copying data from a website.
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.
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.
subscribe via RSS
Grab a copy of our VBA Developer's Kit and start writing better macros in half the time.