Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Font Size in Chart Title
Hello,
I have an embedded chart on a worksheet. I want to know the font size in the title so I can adjust it. I tried the following: ActiveSheet.ChartObjects("newchart").Activate textsize = ActiveChart.ChartTitle.Characters.Font.Size But I get a null value for textsize. How can I do this? Thanks, Bill |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Font Size in Chart Title
Hi,
The syntax is correct. The Null would suggest that the charttitle contains multiple font attributes. Have you formatted part of the title in a different size? If so you will need to check each character in the title, like this. ActiveChart.ChartTitle.Characters(4,1).Font.Size Cheers Andy Bill wrote: Hello, I have an embedded chart on a worksheet. I want to know the font size in the title so I can adjust it. I tried the following: ActiveSheet.ChartObjects("newchart").Activate textsize = ActiveChart.ChartTitle.Characters.Font.Size But I get a null value for textsize. How can I do this? Thanks, Bill -- Andy Pope, Microsoft MVP - Excel http://www.andypope.info |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
How do I change the size of a chart title box? | Charts and Charting in Excel | |||
Size of plot area expands when Chart Title is deleted - why? | Charts and Charting in Excel | |||
Title Block in Excel Chart - Size problem | Charts and Charting in Excel | |||
Has anyone had problems setting the font size for a title through VBA? | Charts and Charting in Excel | |||
font size of row and title heads | Excel Discussion (Misc queries) |