FreezePanes not working when chart present

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?
 
B

Bernard Liengme

Would you mind sending me a file so I can experiment?
Please get my email from my website
best wishes
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top