I have created a dashboard with source data on one sheet and several additional sheets, each with a pivot table. The pivot tables are used to create charts
I added a macro that will automatically update the pivot table when I add data.
Private Sub Worksheet_Change(ByVal Target As Range)
When I add the data, the new data comes across to the pivot table, but all the formatting is lost, the chart type changes and the horizontal axis, where the dates are, is now out of order.
I'm just trying to update the charts with new data.