gooniegirl180
Board Regular
- Joined
- Aug 13, 2003
- Messages
- 152
Hi all, sorry for the basic nature of this one but I'm just not up to scratch on macros yet! I have a pivot chart which, of course, doesn't hold it's formatting. I have recorded a macro which puts the chart back the way I want it, except that I want the macro to execute automatically when any of the pivot fields are changed (eg when the user selects a specific page field).
How do I do this? I've seen something like "Private Sub Chart_Change" but it has this "(ByVal)" bit which I don't understand after it, and I don't know if I need this or how to apply it to my chart.
Thanks in advance!
How do I do this? I've seen something like "Private Sub Chart_Change" but it has this "(ByVal)" bit which I don't understand after it, and I don't know if I need this or how to apply it to my chart.
Thanks in advance!