Chart Dynamic Range

Montyzzz

New Member
Joined
Jan 3, 2019
Messages
1
Hello,

Using Excel 2016. I created a chart with a chart data range from B2:F13. I created a macro that will insert a column in C:C. This causes my chart data range to now =B2:B13,D2:F13. The new data in column C is not being displayed on the chart. I have a screenshot, but I'm unsure how to display it on this message board.

Is there a setting to prevent this from happening? Is there an efficient solution out there somewhere? Thank you.
 

Excel Facts

Add Bullets to Range
Select range. Press Ctrl+1. On Number tab, choose Custom. Type Alt+7 then space then @ sign (using 7 on numeric keypad)
I created a chart and then named the range for the source data, including headers for both axes. I then inserted a column and added data to the column, The chart plotted the data and automatically expanded thed horizontal source range to accomodate the inserted column.
 
Upvote 0

Forum statistics

Threads
1,213,510
Messages
6,114,037
Members
448,543
Latest member
MartinLarkin

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