![]() |
FreezePanes not working when chart present
I am using FreezePanes in VBA on a worksheet, (the code selects the cell
below/to the right of where I want to freeze and sets ActiveWindow.FreezePanes = True). Normally this works, but when there is a chart on the worksheet the FreezePanes freezes them in the wrong place below and to the left of where requested. If I stop the VBA code at the ActiveWindow.FreezePanes = True line, then let it run on, it all works correctly! Any ideas? -- Andrew B |
FreezePanes not working when chart present
Would you mind sending me a file so I can experiment?
Please get my email from my website best wishes -- Bernard V Liengme Microsoft Excel MVP http://people.stfx.ca/bliengme remove caps from email "Andrew B" wrote in message ... I am using FreezePanes in VBA on a worksheet, (the code selects the cell below/to the right of where I want to freeze and sets ActiveWindow.FreezePanes = True). Normally this works, but when there is a chart on the worksheet the FreezePanes freezes them in the wrong place below and to the left of where requested. If I stop the VBA code at the ActiveWindow.FreezePanes = True line, then let it run on, it all works correctly! Any ideas? -- Andrew B |
All times are GMT +1. The time now is 10:37 AM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com