ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Cell description into the chart (https://www.excelbanter.com/excel-programming/347735-cell-description-into-chart.html)

maperalia

Cell description into the chart
 
How can I put the information written in the cell D15 of the "sheet1" into
the chart 1 created as new sheet (chart1). I want to put this nformation as a
label on the top of the chart.

Thanks in advance.
Maperalia

JNW

Cell description into the chart
 
Place the following in your code:
With ActiveChart
.HasTitle = True
'''substitute the following range for the range that
'''contains the label for the chart
.ChartTitle.Characters.Text = Sheets("Sheet1").Range("A1").Value
end with

Hope that helps
JNW

"maperalia" wrote:

How can I put the information written in the cell D15 of the "sheet1" into
the chart 1 created as new sheet (chart1). I want to put this nformation as a
label on the top of the chart.

Thanks in advance.
Maperalia



All times are GMT +1. The time now is 10:35 PM.

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