sub ajout() Dim oSlide As SlideRange With ActivePresentation Set oSlide = .Slides(2).Duplicate oSlide.MoveTo (.Slides.Count) oSlide.Select End With Set oSlide = Nothing end sub
Sub lecturechelle(e1) ActivePresentation.Slides(1).Select ActiveWindow.Selection.SlideRange.Shapes("coeffechelle1").Select e1 = ActiveWindow.Selection.TextRange.Text End Sub
Vous n’avez pas trouvé la réponse que vous recherchez ?
Posez votre questionDim oPresentation As Presentation Dim oSlide As SlideRange Dim oShape As Shape Set oPresentation = ActivePresentation Set oSlide = oPresentation.Slides(1) Set oShape = oSlide.Shapes("coeffechelle1") e1 = oShape.TextRange.Text
Set oSlide = ActivePresentation.Slides(1)
Dim oPresentation As Presentation Dim oSlide As SlideRange Set oPresentation = ActivePresentation For Each oSlide In oPresentation.Slides MsgBox oSlide.Name NextVoir aussi oPrensentation.Slides.Count