Hello,
I have a pivot table that the grandtotal changes and with it where the grandtotal appears. For example, it can move from row25 to row 26 depending on the data. I am in the process of writing a VB code to add a sheet and include the grandtotal no matter where it appears. Is there a way to do this? For example when I write the VB code it would be as follows
Sheets.add.name = “test”
Range (“B1”).select = “This is where the command would appear for the pivot table grand total.”
Any help would be great.