

Understanding Excel’s Document Object Model (DOM) is essential to understand how VBA can be used with charts. While it might be tempting to skip straight to the section you need, I recommend you read the first section in full. But once you’ve mastered it, you’ll know the situations when VBA is the best option. The short code snippets below will help you apply some of the most common chart options with VBA (and hopefully turn those hours into minutes).īut don’t let me fool you into thinking that using VBA is quick and easy, it’s not. When we want to apply those hundreds of settings to lots of charts, it can take hours and hours of frustrating clicking. This is great for creating precisely the visualization we want but can be time-consuming to apply. Charts and graphs in Excel have hundreds of different options.
