Share via


Workbook.ActiveChart, propriété

Obtient un objet Microsoft.Office.Interop.Excel.Chart qui représente le graphique actif (un graphique incorporé ou une feuille de graphique). Un graphique incorporé est considéré comme actif lorsqu'il est sélectionné ou activé. Lorsque aucun graphique n'est actif, cette propriété retourne nullune référence null (Nothing en Visual Basic).

Espace de noms :  Microsoft.Office.Tools.Excel
Assembly :  Microsoft.Office.Tools.Excel (dans Microsoft.Office.Tools.Excel.dll)

Syntaxe

'Déclaration
ReadOnly Property ActiveChart As Chart
    Get
Chart ActiveChart { get; }

Valeur de propriété

Type : Microsoft.Office.Interop.Excel.Chart
Objet Microsoft.Office.Interop.Excel.Chart qui représente le graphique actif ; nullune référence null (Nothing en Visual Basic) si aucun graphique n'est actif.

Sécurité .NET Framework

Voir aussi

Référence

Workbook Interface

Microsoft.Office.Tools.Excel, espace de noms