![]() |
Centered Overlay Title in VBA
I'd like to ensure that the titles of my chart are all set to be "Centered
Overlay Title", but I can't figure out the code to do it. I've got the chart object named myCht. What next? Thanks, Barb Reinhardt |
Centered Overlay Title in VBA
Excel 2007
Sub TitleFormat() With Sheets("Data").ChartObjects(1).Chart .SetElement (msoElementChartTitleAboveChart) .SetElement (msoElementChartTitleCenteredOverlay) .ChartTitle.Text = "MyChart" End With End Sub |
All times are GMT +1. The time now is 03:23 AM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com