1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
| ActivePresentation.Slides(2).Shapes("Rectangle 4").Visible = False
ActivePresentation.Slides(2).Shapes("Rectangle 7").Visible = False
Result = InputBox("Ecrivez votre réponse" & Chr(13) & "Annuler vous fera passer à la réponse")
If Result = "" Then GoTo fin
If Result Like "*glace*" And (Result Like "*thym*" Or Result Like "*tain*") Then
rep = 1
If rep = 1 Then
ActivePresentation.Slides(2).Shapes("Rectangle 4").Visible = True
SlideShowWindows(1).View.GotoSlide 2
End If
Exit Sub
Else
MsgBox " Bon réfléchissez un peu !!!!!! "
GoTo deb
End If
fin:
If rep = 0 Then
ActivePresentation.Slides(2).Shapes("Rectangle 7").Visible = True
SlideShowWindows(1).View.GotoSlide 2
End If |