Bonjour à tous,
j'aimerais pouvoir insérer des graphiques dans une présentation à l'aide d'un menu. 1menu par graphe. Je n'arrive pas à choisir le graphe que je veux. Le code que j'ai me permets d'ajouter le graphe standard (celui à batons).
voici mon code :
Quelqu'un sait-il m'aider ?
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15 ActiveWindow.Selection.SlideRange.Shapes.AddOLEObject( Left:=120, Top:=110, Width:=480, Height:=320, ClassName:="msoAnimEffectPathOctagon", Link:=msoFalse).Select ActiveWindow.Selection.ShapeRange.OLEFormat.Activate With ActiveWindow.Selection.ShapeRange .Left = 120 .Top = 109.875 .Width = 480 .Height = 320.25 End With
Merci d'avance
Partager