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