ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   as that was so easy... (https://www.excelbanter.com/excel-programming/311876-so-easy.html)

josie

as that was so easy...
 
As you nailed that one so easy...

The macro draws a chart from data on worksheet 1 then
stores the chart as a new sheet. How do you...

Title the chart with a word that is found in cell A9 of
worksheet 1?

Name the sheet that the chart is on with the same word?

I owe you guys big time for this!

Tom Ogilvy

as that was so easy...
 
Sub AAA()
ActiveChart.ChartTitle.Text = "=Sheet1!R9C1"
ActiveChart.Name = Worksheets("Sheet1").Range("A9").Value


End Sub


--
Regards,
Tom Ogilvy

"Josie" wrote in message
...
As you nailed that one so easy...

The macro draws a chart from data on worksheet 1 then
stores the chart as a new sheet. How do you...

Title the chart with a word that is found in cell A9 of
worksheet 1?

Name the sheet that the chart is on with the same word?

I owe you guys big time for this!




josie

as that was so easy...
 
Lawks...
-----Original Message-----
Sub AAA()
ActiveChart.ChartTitle.Text = "=Sheet1!R9C1"
ActiveChart.Name = Worksheets("Sheet1").Range("A9").Value


End Sub


--
Regards,
Tom Ogilvy

"Josie" wrote in

message
...
As you nailed that one so easy...

The macro draws a chart from data on worksheet 1 then
stores the chart as a new sheet. How do you...

Title the chart with a word that is found in cell A9 of
worksheet 1?

Name the sheet that the chart is on with the same word?

I owe you guys big time for this!



.



All times are GMT +1. The time now is 03:58 PM.

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