View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Bernard Liengme[_3_] Bernard Liengme[_3_] is offline
external usenet poster
 
Posts: 1,104
Default 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