Hi,
Can anybody let me know how to write a macro for changing the data source of a pivot?
I need to prepare a file every week by pasting a extract, formating it and then updating the pivot based out of this extract in the same file.
I have automatised the pasting and formating part but not able to change the data source of the pivot, which is essential as the amount of data varies every week.
Thanks
Sam
Can anybody let me know how to write a macro for changing the data source of a pivot?
I need to prepare a file every week by pasting a extract, formating it and then updating the pivot based out of this extract in the same file.
I have automatised the pasting and formating part but not able to change the data source of the pivot, which is essential as the amount of data varies every week.
Thanks
Sam