Hidden Dan
Board Regular
- Joined
- Dec 7, 2016
- Messages
- 63
I thought it was an easy job, but ...
I need to name my pivot table according a cell value. I currently type the name manually into the appropriate pivot table options field. But I presume a simple VBA can do the task better.
The reason is that when I copy a sheet a couple of times the pivot table keeps the same name.
So in cell D5 I read "Table net income" and subsequently my pivot table should get that name by executing a macro.
How can I do that best ?
Thanks, Dan
I need to name my pivot table according a cell value. I currently type the name manually into the appropriate pivot table options field. But I presume a simple VBA can do the task better.
The reason is that when I copy a sheet a couple of times the pivot table keeps the same name.
So in cell D5 I read "Table net income" and subsequently my pivot table should get that name by executing a macro.
How can I do that best ?
Thanks, Dan