ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   HOW TO PROGRAM EXCEL SO THAT THE TITLES ON GRAPHS ARE AUTOMATICALLY CHANGED (https://www.excelbanter.com/excel-programming/274917-how-program-excel-so-titles-graphs-automatically-changed.html)

Marcello do Guzman

HOW TO PROGRAM EXCEL SO THAT THE TITLES ON GRAPHS ARE AUTOMATICALLY CHANGED
 
I am marketing a product that has lots of graphs. My problem is that
the user will have to change the titles in the graphs so that they
have their company name is in the graph. Is there anyway to automate
this using VBA? Is there something that I missed in EXCEL. I am using
XP. ANy help would be greatly appreciated.

SIncerely,


Marcello

respond.

Bill Li

HOW TO PROGRAM EXCEL SO THAT THE TITLES ON GRAPHS ARE AUTOMATICALLY CHANGED
 
Hi Marcello
Following code can be used to change the tile of chart.

ActiveSheet.ChartObjects("Chart 1").Activate
ActiveChart.ChartTitle.Select
Selection.Characters.Text = "Company Name"
ThisWorkbook.Activate

Best Regards

Bill


-----Original Message-----
I am marketing a product that has lots of graphs. My

problem is that
the user will have to change the titles in the graphs so

that they
have their company name is in the graph. Is there anyway

to automate
this using VBA? Is there something that I missed in

EXCEL. I am using
XP. ANy help would be greatly appreciated.

SIncerely,


Marcello

respond.
.



All times are GMT +1. The time now is 02:14 PM.

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