


If you do know VBA, then this is a great tool to start embedding quick charts into your projects with much less effort than ever before. Embedding this chart is a great way to get your hands dirty with VBA if you've never tried it before. The code included here is very straightforward and simple to write. I hope that after reading this article, you'll be motivated to try your hand with VBA. In some of my past VBA articles, a few of you mentioned that the task at hand was a little too complicated for anyone that has never written code before.
#Office web components chart how to
In this example, I'm going to show you how to enable design mode in your program (in this case, we'll use Microsoft Word), embed the chart object into your project, and then how to write the code that fills it in with data. This can also include non-Microsoft products that have a VBA back-end, which many do.

In this article I'm going to show you how to use a really convenient and simple VBA object from Microsoft Office Web Components that lets you insert a Chart directly into a document, presentation or anything else where you can create VBA code to run it. Isn't it amazing how something as simple as creating a chart can feel so complicated sometimes? Whether you're using Excel, Word, Powerpoint or Access - sometimes it would be nice to just insert a quick chart with a bunch of data without having to do a whole lot of configuring and messing about.
