macro graphe

hamza00

XLDnaute Nouveau
Bonjour à tous,

J'ai un probleme avec ma macro faite avec l'enregistreur, je veux faire un graphe pour 2 colonnes sur 673 lignes , je veux ke le graphe affiche toutes les lignes sans ke je l'agrandisse

Code:
Range("B2:C673").Select
    ActiveSheet.Shapes.AddChart.Select
    ActiveChart.ChartType = xlLine
    ActiveChart.SetSourceData Source:=Range("Graphe!$B$2:$C$673")
    ActiveChart.ChartArea.Select
    ActiveSheet.Shapes("Graphique 1").Width = 5669.2913385827
 

Statistiques des forums

Discussions
312 775
Messages
2 092 022
Membres
105 150
dernier inscrit
maxissof