Probleme avec msgraph ds un etat...

groconar Messages postés 2 Date d'inscription mardi 4 mars 2003 Statut Membre Dernière intervention 14 mars 2003 - 14 mars 2003 à 15:40
groconar Messages postés 2 Date d'inscription mardi 4 mars 2003 Statut Membre Dernière intervention 14 mars 2003 - 14 mars 2003 à 16:45
Private Sub Report_Open(Cancel As Integer)

Dim graphe As Object
Dim xlValue As Variant

Set graphe = CreateObject("MSGraph.chart.8")

With graphe.Axes(xlValue)
.minimumscale = 10
.maximumscale = 12
End With

End Sub

ca marche pas ca me dde une valeur pr xlvalue..

pliz help me

1 réponse

groconar Messages postés 2 Date d'inscription mardi 4 mars 2003 Statut Membre Dernière intervention 14 mars 2003
14 mars 2003 à 16:45
Private Sub Report_Open(Cancel As Integer)

Dim graphe As Object

Set graphe = CreateObject("MSGraph.chart.8")

With graphe.Axes(2)
.MinimumScaleIsAuto = False
.MaximumScaleIsAuto = False
End With

graphe.Axes(2).minimumscale = 10
graphe.Axes(2).maximumscale = 12

End Sub

ben là g plus d'erreurs mais ca n'a aucun effet sur mon graphe!!! est ce normal :question)
0
Rejoignez-nous