FreezePanes not working when chart present

  • Thread starter Thread starter Andrew B
  • Start date Start date
A

Andrew B

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?
 
Would you mind sending me a file so I can experiment?
Please get my email from my website
best wishes
 
Back
Top