dmkennard2
Technical User
Hi,
I have got the code to create a pivot and a chart from the source data.
The problem i have is there is far too much data to be displayed in a chart.
Is there a was of deselecting all the entries, in this case date, and only display the first date that is in cell A5 in the pivot table?
At the moment the list is just every individual entry in the pivot table ie:
Dazz
I have got the code to create a pivot and a chart from the source data.
The problem i have is there is far too much data to be displayed in a chart.
Is there a was of deselecting all the entries, in this case date, and only display the first date that is in cell A5 in the pivot table?
At the moment the list is just every individual entry in the pivot table ie:
Code:
ActiveChart.PlotArea.Select
ActiveChart.ChartType = xlLineMarkers
With ActiveChart.PivotLayout.PivotTable.PivotFields("Date")
.PivotItems("02/07/2007").Visible = False
.PivotItems("03/07/2007").Visible = False
.PivotItems("04/07/2007").Visible = False
.PivotItems("05/07/2007").Visible = False
.PivotItems("06/07/2007").Visible = False
.PivotItems("07/07/2007").Visible = False
etc...