Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
We are trying to change the font size of the chart size automatically via vba
and have included this: ActiveChart.ChartTitle.Select With Selection.Font .Name = "Arial" .FontStyle = "Bold" .Size = 12 .Strikethrough = False .Superscript = False .Subscript = False .OutlineFont = False .Shadow = False .Underline = xlUnderlineStyleNone .ColorIndex = xlAutomatic End With For this code the program doesn't change the formatting of the chart title. Perhaps you can find the fault... |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
It works fine here, although you don't need to select something already
selected With ActiveChart.ChartTitle With .Font .Name = "Arial" .FontStyle = "Bold" .Size = 12 .Strikethrough = False .Superscript = False .Subscript = False .OutlineFont = False .Shadow = False .Underline = xlUnderlineStyleNone .ColorIndex = xlAutomatic End With End With -- --- HTH Bob (there's no email, no snail mail, but somewhere should be gmail in my addy) "Kathl" wrote in message ... We are trying to change the font size of the chart size automatically via vba and have included this: ActiveChart.ChartTitle.Select With Selection.Font .Name = "Arial" .FontStyle = "Bold" .Size = 12 .Strikethrough = False .Superscript = False .Subscript = False .OutlineFont = False .Shadow = False .Underline = xlUnderlineStyleNone .ColorIndex = xlAutomatic End With For this code the program doesn't change the formatting of the chart title. Perhaps you can find the fault... |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Yeah, thx.
when i delete all this select statements everything's working fine. "Bob Phillips" wrote: It works fine here, although you don't need to select something already selected With ActiveChart.ChartTitle With .Font .Name = "Arial" .FontStyle = "Bold" .Size = 12 .Strikethrough = False .Superscript = False .Subscript = False .OutlineFont = False .Shadow = False .Underline = xlUnderlineStyleNone .ColorIndex = xlAutomatic End With End With -- --- HTH Bob (there's no email, no snail mail, but somewhere should be gmail in my addy) "Kathl" wrote in message ... We are trying to change the font size of the chart size automatically via vba and have included this: ActiveChart.ChartTitle.Select With Selection.Font .Name = "Arial" .FontStyle = "Bold" .Size = 12 .Strikethrough = False .Superscript = False .Subscript = False .OutlineFont = False .Shadow = False .Underline = xlUnderlineStyleNone .ColorIndex = xlAutomatic End With For this code the program doesn't change the formatting of the chart title. Perhaps you can find the fault... |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Changing font style/size/color/etc for multiple series in a chart? | Charts and Charting in Excel | |||
Changing Font color based on font type or size | Excel Discussion (Misc queries) | |||
Font Size in Chart Title | Excel Programming | |||
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) |