Bonjour,
Je souhaite générer un graphique Excel via une application VB6. Cela fonctionne très bien avec Excel 2007 (sur machine de développement) mais la propriété ChartType sur Excel 2003 me pose pas mal de problèmes.

voici le code

Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
'Sélection du tableau
    appexcel.Range("a" & j & ":b" & i & " ").Select
    
    'Création d'un graphique
    appexcel.Charts.Add
    
    
    'Personnalisation du graphique
    appexcel.ActiveChart.chartType = 98
    
    appexcel.ActiveChart.HasTitle = True
    appexcel.ActiveChart.ChartTitle.Text = "Incidents du " & Format(datedeb_export, "DD/MM/YYYY") & " au " & Format(datefin_export, "DD/MM/YYYY")
    appexcel.ActiveChart.ChartTitle.Font.Size = 18
La question est : Savez vous ou je peux trouver une liste de valeurs pour la propriété ChartType compatible Excel 2003 ?

Faut-il gérer la propriété ChartType autrement ?

Merci pour toutes vos contributions