Really need some help!

vbaamateur

New Member
Joined
Mar 16, 2022
Messages
2
Office Version
  1. 2016
Platform
  1. Windows
Amateur to VBA and need some help in creating some automated graphs for work.

I ideally need a macro command to delete any existing graph on the page and for a new graph to be created at the same time, for when data is updated within the table. I am comfortable in creating the command button but unsure on how to code for the task.

The image is a dummy of the way the data is laid out - various project numbers with underlying tasks being started and completed in different years. I need this to show on a clustered bar chart with years along the X-axis and task and project along the Y-axis. I need this to also show the length of time i.e the bar for Task 1 will start in 2020 and run until 2030, with all bars for all tasks.

I'd really appreciate a swift response on the below if there are any VBA wizzes out there!
 

Attachments

  • Excel Dummy.PNG
    Excel Dummy.PNG
    6.5 KB · Views: 8

Excel Facts

Bring active cell back into view
Start at A1 and select to A9999 while writing a formula, you can't see A1 anymore. Press Ctrl+Backspace to bring active cell into view.

vbaamateur

New Member
Joined
Mar 16, 2022
Messages
2
Office Version
  1. 2016
Platform
  1. Windows
Still need some help with the above of anyone can!
 

Forum statistics

Threads
1,176,325
Messages
5,902,520
Members
434,977
Latest member
Wayne_Wickson

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
Top