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.
In this tutorial, you will learn how to use the VBA NPV function to calculate the net present value of an investment based on a series of cash flows and a discount rate.
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 R1C1 notation in VBA with FormulaR1C1 to generate cell-based formulas with ease. This way, you can use variable references when iterating through loops.
Here's how to use VBA AdvancedFilter with multiple criteria defined in a customizable Excel table. This AdvancedFilter macro supports both AND and OR criteria.
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.
The VBA Sgn function is a quick way to check if a number is positive, negative or zero. Rarely used, the Sgn function can be useful when building conditional statements.
Here's how to use the VBA AutoFilter method to filter data in a column based on different criteria. This will help improve your data munging capabilities.
Use the VBA AdvancedFilter method to find unique records, clean data, separate the original and cleaned datasets and determine whether data contains duplicates.
This tutorial uses VBA to insert rows on worksheets and selectively into ranges or tables. We'll also show you how to shift rows and copy formats for new cells.
Get file info like read-only and hidden status, plus understand how VBA GetAttr leverages bitwise operations to losslessly compress this info into a single number.