LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5
Default excel resets chart values after workbook reopen

In Excel2003 under WXPSP2, I have a series of procedures which
generate a lot of statistics and (line with markers and 3d column)
charts. Everything works fine and the charts are output as specified
in the vba code. But after I close workbooks and reopen them, excel
has reset several chart properties. First, the charts' property
.SizeWithWindow = False
and the window magnification
.Zoom = 100
were changed; excel had reset all the chart Views to Sized With Window
(checked) and Zoom to 127%. Thinking that this behavior might be set
by an excel option, I posted a query in the microsoft.public.excel
group, but have not received a response. After resetting these values
manually and reopening the workbooks, the specified size and zoom
properties have been (so far) persistent. This is reminiscent of the
issue in
http://groups.google.com/group/micro...b59c5dba04dd7f
Does this mean that a workbook_open macro must be written to reset
these properties on each reopen? (This first group of 20 charts is
just a test bed, and manually resetting these properties for all the
hundreds of future charts would be onerous.)

Are view properties NOT persistent when set via vba code? Is there an
application option that controls this behavior? Can these properties
be persistently set in vba code? Is a workbook_open macro the
solution to this problem?

Second, unlike the first problem which affects all charts uniformly,
excel resets other chart properties for some of the charts but not all
of them. For some (but not all) of the 3d column charts, excel resets
the
.Axes(xlSeries).TickLabelSpacing = 1
to 3 which forces the loss of a series label. Some of these charts
also have the
TickLabels.Font.Size = 9
reset to 10. Changing these back manually also is not persistent. Is
there a way to force excel to leave these properties as set in the vba
code?

Thanks for any help or suggestions.

 
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
Reopen workbook Weeepie Excel Discussion (Misc queries) 6 November 14th 07 04:56 PM
create chart /table excel-save, close & reopen colors change? Why Anne Charts and Charting in Excel 1 July 4th 06 09:16 PM
Opening Workbook resets calculation to automatic from manual etc Bill Shepherd Excel Discussion (Misc queries) 2 May 31st 06 02:02 PM
Avoid to reopen a working Workbook Marcelo[_3_] Excel Programming 2 July 17th 04 06:56 AM
When workbook is closed tries to reopen?? bdcrisp[_2_] Excel Programming 3 December 8th 03 05:42 PM


All times are GMT +1. The time now is 07:54 PM.

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

About Us

"It's about Microsoft Excel"