I have a spreadsheet with a table of data and I am running a pivot table from this data.
The table of data will have extra information added to it so I want to be able to re-set the range that the pivot table uses automatically but I can't seem to code it.
I have used a For...Next statement to loop through the data table until it finds a blank row but I can't find out how to re-set the pivot table range.
Any help greatly appreciated!
The table of data will have extra information added to it so I want to be able to re-set the range that the pivot table uses automatically but I can't seem to code it.
I have used a For...Next statement to loop through the data table until it finds a blank row but I can't find out how to re-set the pivot table range.
Any help greatly appreciated!