Graph.Titles

Returns the titles of the graph.

This property is read only.

Syntax Parameters Return Value
- - Titles

SVB Example

Customizing a graph's title:

Option Base 1
Option Explicit
Sub Main
    Dim i As Integer
    'remove all of the graph's titles
    For i = ActiveGraph.Titles.Count To 1 Step -1
        ActiveGraph.Titles.Remove(i)
    Next i
    'add a custom title
    ActiveGraph.Titles.Add(scgMainTitle, _
        "Dayton office" & vbCrLf & Str(Now))
End Sub