Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 10
Default 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
  #2   Report Post  
Posted to microsoft.public.excel.programming
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



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to format in stones & pounds and then present on chart Pete Harris Excel Discussion (Misc queries) 1 January 4th 09 02:43 PM
How to present one outstanding data in a chart Mare Charts and Charting in Excel 2 May 12th 07 01:10 PM
Lines in chart when no data is present RW Charts and Charting in Excel 14 January 27th 07 01:58 AM
.FreezePanes Bob McClellan Excel Programming 9 September 14th 06 02:20 PM
freezepanes Rob Excel Programming 1 January 6th 06 04:17 PM


All times are GMT +1. The time now is 08:33 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"