A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » Charts and Charting
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Custom charts - default formatting



 
 
Thread Tools Display Modes
  #1  
Old September 19th, 2005, 08:32 AM
tomjohns
external usenet poster
 
Posts: n/a
Default Custom charts - default formatting

Hi,

I am making a custom chart and hits the problem mentioned in the
article from Peltier:
http://peltiertech.com/Excel/ChartsH...stomTypes.html

It says: "Another problem with a custom chart type, or any chart with
customized formatting. If a chart element with custom formatting is
removed from the chart, then added again, the custom formatting is
lost, and the element takes on the default formatting for that element
in the default chart."

Is there a smart way to solve this problem? Could the best thing to do
be some VBA-coding and to keep track on the change-event from the chart
and then reapply the custom chart type?

  #2  
Old September 19th, 2005, 01:31 PM
Jon Peltier
external usenet poster
 
Posts: n/a
Default

What element of the chart is losing its formatting?

- Jon
-------
Jon Peltier, Microsoft Excel MVP
Peltier Technical Services
Tutorials and Custom Solutions
http://PeltierTech.com/
_______


tomjohns wrote:

Hi,

I am making a custom chart and hits the problem mentioned in the
article from Peltier:
http://peltiertech.com/Excel/ChartsH...stomTypes.html

It says: "Another problem with a custom chart type, or any chart with
customized formatting. If a chart element with custom formatting is
removed from the chart, then added again, the custom formatting is
lost, and the element takes on the default formatting for that element
in the default chart."

Is there a smart way to solve this problem? Could the best thing to do
be some VBA-coding and to keep track on the change-event from the chart
and then reapply the custom chart type?

  #3  
Old September 19th, 2005, 01:34 PM
bj
external usenet poster
 
Posts: n/a
Default

I don't know if it is the best way, but I have done it for complex charts

I set up a sheet with the name "record"
and run macros similar to

Sub tryin()
For i = 1 To SeriesCollection.Count
Sheets("record").Cells(i, 1) = CI(i)
Next i
End Sub
Sub tryout()
For i = 1 To SeriesCollection(i)
SeriesCollection(i).ColorIndex = Sheets("record").Cells(i, 1)
Next i
End Sub

needless to say these are not the full macro

"tomjohns" wrote:

Hi,

I am making a custom chart and hits the problem mentioned in the
article from Peltier:
http://peltiertech.com/Excel/ChartsH...stomTypes.html

It says: "Another problem with a custom chart type, or any chart with
customized formatting. If a chart element with custom formatting is
removed from the chart, then added again, the custom formatting is
lost, and the element takes on the default formatting for that element
in the default chart."

Is there a smart way to solve this problem? Could the best thing to do
be some VBA-coding and to keep track on the change-event from the chart
and then reapply the custom chart type?


 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Default formatting rmellison Charts and Charting 1 September 16th, 2005 05:02 PM
Custom Auto Filter default setting should be contains dmc Worksheet Functions 0 June 14th, 2005 07:54 AM
How can I create a custom envelope size and set it as the default Pedro General Discussion 1 April 29th, 2005 08:05 AM
How do I make Maintain Destination Formatting the default Dan in Ottawa Visio 0 November 15th, 2004 09:35 PM
PivotChart formatting: macro for multiple unique charts Jocelyn Charts and Charting 2 January 20th, 2004 05:12 PM


All times are GMT +1. The time now is 05:48 AM.


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