VBA - Creating a Dashboard with Charts including data changes

ChristineVZyl

New Member
Joined
Sep 4, 2024
Messages
1
Office Version
  1. 365
Platform
  1. Windows
Good day.

I trust you are well.

I am new to VBA.
I am struggling so badly.

I need to create a dashboard.
On the dashboard should be chart that uses data from another sheet.
I have a sheet - Dashboard
I have a sheet - Workings

Data I have is:

5 Categories with products

The graph(Line Chart) should have a dynamic y-axis. The way to calculate is that the lower value of the y-axis should be the minimum of the product category selected less ten units and the upper value of the y-axis should be the maximum of the product category selected plus ten units. The y-axis should change when the combo box value is selected.

Will you be able to assist me?
What do you need form me?

Thank you in advance.
 

Excel Facts

Get help while writing formula
Click the italics "fx" icon to the left of the formula bar to open the Functions Arguments dialog. Help is displayed for each argument.
You can start by turning on the macro recorder, then manually carrying out the steps you want in your program. The code won't be perfect, but it will be a good starting point.

When you get stuck, you can ask more specific questions here, or try Google (sample query: "Excel vba chart axis scale", be sure to use keywords VBA and Excel).
 
Upvote 0

Forum statistics

Threads
1,224,829
Messages
6,181,218
Members
453,024
Latest member
Wingit77

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top