Thanks Andy.
I have also modified your code a bit to now work when opening a workbook.
One of the things I am noticing though is that when my workbook is generated from the system that generates it, this code seems to half work as in it aligns the axes at 0 but the secondary axis max value is somewhere on everest and so my line chart based on it disaapears half way. To workaround this I was trying to do the same but when the workbook closes. So using the code
When trying to run this though I get the Macros window popping up instead of the code executing. Any idea why this might be the case?
Thanks
Bookmarks