That's why you might want to add the same custom number format to the data labels, as follows: You'll probably want to format all of the series, but in this example, only the one series changes.
I have an Excel document (2007) with a chart (Clustered Column) that gets its Data Series from cells containing calculated values The calculated values never change directly, but only as a result of other cells in the sheet changing When I change other cells in the sheet, the Data Series cells are recalculated, and show new values - but the Chart based on this Data Series refuses to update automatically I can get the Chart to update by saving/closing, or toggling one of the settings (such as reversing x/y axis and then putting it back), or by re-selecting the Data Series Every solution I have found online doesn't work None of these update or refresh the chart I do notice that if I type over my Data Series, actual numbers instead of calculations, it will update the chart - it's as if Excel doesn't want to recognize changes in the calculations Has anyone experienced this before or know what I might do to fix the problem? I guess the best solution to this is keep trying to modify different chart properties until it refreshes. When generating the charts automatically, some charts appear over and cache the text in the sheet. ( It only seems to be visible charts that have this problem updating ). Visible = False i Count = i Count 1 Next co End If If Not sht Is Nothing Then i Count = 1 For Each co In sht. However, the pie charts do not update--for some reason, other types of charts do. XValues = "=tbl Ref[Secs]" End With End Sub My two cents for this problem--I was having a similar issue with a chart on an Access 2010 report.
Thank you I have run into this same issue - not sure why, and when it happens the only way I have ever gotten the chart to force update is to change something in the chart definition itself, which can easily be done via VBA as in: There may be a better answer that gets to the bottom of the problem - but I thought this might help. Formula = temp Next sc Next co This is an absurd bug that is severely hampering my work with Excel. It happens to be a problem of refreshing the generated charts. This works for me and also handles similar issues with charts as well as chart objects. And by the way, these are chart objects, not chart sheets. I was dynamically building a querydef, setting that as the rowsource on my report and then trying to loop through each series and set the properties of each series.
I like to just have the first worksheet as the presentation layer — let’s name it Dashboard — and the second worksheets as the data layer — let’s call that Data.
(Note: I abhor many, many things about Excel’s default settings, but, to keep the example as familiar as possible, I’m going to leave those alone.
Plot By = xl Rows Next Next Simply redefined the Source Data range. Paste 'Reposition to original position Active Chart. All worked fine in Excel 2003, but in Excel 2007 the chart seems to lose all connection to its data, although manually changing data values in two column triggered a recalc. Refresh i Count = i Count 1 Next co End If If Not chrt Is Nothing Then chrt. On the dashboard, there are some pie charts with data series tied to cells which contain these named ranges (the problem also occurs if the data series target cells contain the UDFs directly, bypassing the named ranges).