Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
tomjohns
 
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   Report Post  
Jon Peltier
 
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   Report Post  
bj
 
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?


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
Custom formatting to force a decimal place Mike K Excel Discussion (Misc queries) 3 July 31st 05 10:56 AM
Custom Auto Filter default setting should be contains dmc Excel Worksheet Functions 0 June 14th 05 07:54 AM
custom formatting ???/???? DVR019 Excel Discussion (Misc queries) 2 June 4th 05 11:07 AM
How to revert back to default color palatte from custom Carole O Excel Discussion (Misc queries) 1 April 6th 05 07:00 PM
Custom Type Charts Problem Reetesh B. Chhatpar Excel Worksheet Functions 0 November 23rd 04 10:55 AM


All times are GMT +1. The time now is 02:08 AM.

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"