This tutorial explains creating interactive dashboards using Excel VBA with example file which you can download. We will see the basic things that we need to understand to create dashboards and then we will learn how to create stunning and rich visualized dashboards.
We will develop a simple interactive dashboard, I will take the last updated simple sample dashboard and enhanced it by using VBA.
In this tutorial:
- What is a Dashboard? And what are the Interactive Dashboards?
- Concepts we should understand to develop Interactive Dashboard:
- Practical Learning – Creating Dashboards using Excel VBA:
- Tools for building Rich Interactive Visualized Dashboards:
What is a Dashboard? And what are the Interactive Dashboards?
Dashboard is a kind of report or a simulation tool to displaying important data or information at a single place to get the quick understanding of the data. Dashboards are visually displayed with combination of Tables, Charts and Pivot tables and Insights for Analyzing the Data. Dashboards helps to quickly understand the key metrics and delivered as simulation tool for quick data analysis.
When we deal with large amount of data (time series/ historical) or data with more number of categories, Fields/Columns/Variable or Records, we need to provide interactivity to understand the data in-depth. For example, you may be developing a dashboard to understand the sales of a Super Market. Assume, you have the sales data for last 5 years, and it has 5000 stores across the world. You can’t understand the each by developing a simple dashboard with this large amount of data. You have to provide different options to choose different categories of the Super Market. For example, if you want to understand the data based on the demographic variables, you should provide the user interface to select Countries, Regions, States, Income Levels, Age Groups and Gender etc…
Concepts we should understand to develop Interactive Dashboard:
We can develop the interactive dashboards using Excel. We should know the following concepts to build Interactive Dashboards:
Form Controls:
We can use Form Controls available in the Excel to provide the user interface and link it to an object.
Charts and Sparklines:
Charts will help you to provide the graphs for the required metric to quickly understand the respective data. You can make them interactive by using VBA or linking the From Controls with Charts.
Tables, Pivot Tables and Slicers:
Tables and Pivot Tables help you to present the data in table format, Pivot tables help you to summarize the data. We can use slices and VBA to develop interactive pivots.
VBA
You can develop the rich visualized dashboards using VBA. as discussed above it helps make the charts and table more interactive. And also helps to filter the data or change the data source. You can get the external data using VBA and provide many mare advanced and interactive features.
Practical Learning – Creating Dashboards using Excel VBA
You can download the example file I have used the last updated simple sample dashboard and done the following changes. » Saved the sample file as macro enable workbook (i.e; .xlsm format): you must save the file as macro enabled, otherwise it will not save your VBA code. » Added the following code for ThisWorkbook Moduel for Workbook_Open event: It will populate the drop-down list with required list item while user opens the file every time. » Add the Following code in Dashboard Module for ComboBox_Change Events : We are capturing the user selected Category and Region. » You are done! This is a simple dashboard using VBA, we will see creating complex dashboards later. Excel is the most widely used tools for developing regular dashboards. If you have large amount of data and you have many tools to develop rich visualized tools. The following are the most widely used Dashboard development and BI Tools. Qlikview , TIBCO Spotfire and Tableau are rich visualized BI Tools. They are quick and can deal with large amount of data.Steps for Creating interactive dashboards using Excel VBA
How It’s become interactive?
» Added two ComboBoxes in Dashboard Worksheet and name them as cmbRegion and cmbCategory. The first one (cmbRegion ) is for providing the drop-down list to the user to select regions. And the second one (cmbCategory) is for providing the drop-down list to the user to select Categories.Tools for Developing Rich Interactive Dashboard
I would like training in excel dashboard. Do you offer this? Thanks. Asha
Hi Asha,
Yes, we are going to start our online classes in couple of weeks. We will inform you before we launch our program.
Thanks-PNRao!
Hi! Please notify me as well.
It would be very appreciated.
Thank you so very much. Regards,
Hi Trish,
Thanks for your interest to learn VBA. Sure, we will inform once we are ready.
Thanks-PNRao!
Hi, are you ready to offer training?
Thanks.
Hi Darren,
We are creating VBA online classes (Launching on 1st Oct 2015) and then we are going to prepare online course for ‘Developing Dynamic Dashboards using MS Excel’ (Planning to launch on 1st November 2015).
Please let us know if you are interested in any of the above courses, so that we can inform you when we launch our classes.
Thanks-PNRao!
Yes, I am interested in both the VBA and Dynamic Dashboard courses.
Do I need to learn any basics as a pre-requisite?
Hi Darren, The pre-requisite is MS Excel, it is good to have basic understanding of Excel and its utilities. However, we will cover basics of Excel, before going to the actual topic.
Thanks-PNRao!
I’m interested in VBA online classes and Developing Dynamic Dashboards using MS Excel online course need more details.
Thanks,
Moataz
Hi Moataz,
We are creating VBA online classes (Launching at the earliest) and then we are going to prepare online course for ‘Developing Dynamic Dashboards using MS Excel.
We will inform you when we launch our classes.
Thanks-PNRao!
I am interested as well. Please let me know when.
Thanks!
Thanks for showing interest on VBA Classes. We are working on it. It will be available soon. We will notify you once we launch our classes.
Thanks-PNRao!
count me in as well pls…
Please let me know i am interested in learning VBA dynamic dashboard.
Regards
I’m interested in VBA online classes and Developing Dynamic Dashboards using MS Excel online course need more details.
Thanks,
Ruquaiya
Thanks for showing interest on VBA Online Classes and Dashboards. We are working on it. It will be available soon. We will notify you once we launch our classes.
Thanks-PNRao!
Dear Sir,
First of all thanks for sharing such a valuable information …
I want to be part of your online programmes so please let me know detailed information..
Wishing you a Very Happy Dipawali in advance..
Have a great day..
Dhiraj
Sure, we will inform you while launching our online courses.
Thanks-PNRao!
I am also interested in VBA and dynamic dashboards.
Thanks and best regards,
Julie
When is the next course on dynamic dashboards using excel.
Hi All,
Thanks for showing interest on our online course, we are working hard to launch this program as soon as possible, we are planning to launch on Jan 1st 2016.
Thanks-PNRao!
Hi, Thanks for showing interest on our online courses. We are working on the program, will inform you when we launch the course.
Thanks-PNRao!
Hi
I am also interested in VBA and dynamic dashboards.
Thanks and best regards,
Max
Hi, I am currently working as a engineer ia company that is manufacturing based .The machine that i undertake in operation have lots of calculation like current and voltage to calculate power heat input mass and many more so help me how i can make userform,
sir i also want to learn my contact is plz inform me
Hi
I am also interested in VBA and dynamic dashboards.
Thanks and best regards,
Rich
Hi Singh,
Here is the sample examples to create userform. Its explained with examples.
Link 1: http://analysistabs.com/vba-code/excel-projects/data-entry-userform/
Link 2: http://analysistabs.com/vba-code/excel-projects/calculator-userform/
Regards-Somu
I like to learn dashboard through dvd.pls suggest me any DVD available in market
Hi
I am also interested in VBA and dynamic dashboards.
Thanks.
Best regards,
Zak
Hi,
I tried to execute this code, till drop-down part I’m able to get output but further that I am not able to link my charts.
Please help me as early as possible
I am also wiling to learn dashboard creation, can you arrange the same again?
Hello!
I have my MBA in Business Analytics. I’m interested in learning VBA Dashboards using VBA.
Kindly assist me for the same.
Thanks!
Udit Kapoor
HI,
I want to learned excel VBA DASHBOARD AND courses through online.
Please intimate me when your batch should be start .
Thanks
Shesadev
Hi Sir, I am Rajesh, I work mostly with Excel and I want to expertise in Excel. Please help!