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.
Use the VBA ShellExecute function to open a URL in the default browser. VBA ShellExecute is a better choice than opening each website in internet explorer.
The VBA Beep function lets you play a system beep sound whenever you like. VBA Beep usually comes through your speakers so make sure your volume is up.
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.
Use this VBA macro to count the files in a folder. This macro can return the number of total files in a folder or the number of files of a certain type.
Loop through files in a folder with this VBA macro. Use it anytime you need to check each file in a folder or when you want to list the files in a folder.
Use this VBA InputBox to mask passwords. This private InputBox was originally created by Daniel Klann many years ago, but I'll teach you how to use it.
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.
Now your Excel users can select their own colors when running your macro! I'll show you how to show a Color Palette Dialog Box using VBA xlDialogEditColor.
Despite what others say, it is possible to change another cell with a VBA user-defined function. These UDFs put the results of the formula in a different cell.