ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Chart datalabels linked to cells (https://www.excelbanter.com/excel-programming/440437-chart-datalabels-linked-cells.html)

Daniel Bonallack

Chart datalabels linked to cells
 
I have an old Excel 2003 macro that duplicates a sheet with a column chart on
it. The column chart has data labels that are linked to cells in the sheet.

Problem:
Now that we're in Excel 2007, the datalabels on the chart on the duplicated
sheet still refer to the original sheet.

So we want to adjust the macro so that the labels point to the same cells on
the active sheet.

Can someone just give me the syntax?
e.g. Activechart.Seriescollection(1).datalabels(1).form ula="=data!C3"



Herbert Seidenberg

Chart datalabels linked to cells
 
Excel 2007
Points().DataLabel.Text
http://c0444202.cdn.cloudfiles.racks...10_31_09a.xlsm


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

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com