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.
The VBA Round function behaves differently than the Excel Worksheet ROUND function. This tutorial explains the differences between the two rounding functions.
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 the VBA Dir function to check if a file exists. The VBA Dir function returns the name of a valid file, so you can use it to test whether a file exists.
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.
Return the value in one range based on the relative position of a value in another range without the index, match or offset functions by using this Excel UDF.
This tutorial shows you how to hide the border on your UserForm using VBA. A UserForm without a title bar and X button are far cleaner than normal UserForms.
Instead of using Data Validation, you can use VBA to allow only numbers in a cell or a range in Excel. Read on to learn how to restrict non-numeric characters.
You can programmatically enable trust access to the VBA project object model with this macro. Doing so allows you to add modules and write macros from a macro.
This tutorial shows you how to pause your macro until a key is pressed by calling the GetAsyncKeyState function in VBA. Use it to detect any key stroke.