|
Private Sub CommandButton1_Click()
'变量说明
'Start_Page_No 开始页码
'End_Page_No 结束页码
Dim Start_Page_No, End_Page_No As Integer
Dim I, J As Integer
Start_Page_No = 2: End_Page_No = 3
For I = Start_Page_No To End_Page_No
For J = 1 To ActivePresentation.Slides(I).Shapes.Count
MsgBox (ActivePresentation.Slides(I).Shapes(J).Type)
If ActivePresentation.Slides(I).Shapes(J).Type = msoLinkedPicture Or ActivePresentation.Slides(I).Shapes(J).Type = msoPicture Then
ActivePresentation.Slides(I).Shapes(J).ActionSettings(ppMouseClick).Hyperlink.Delete
End If
Next J
Next I
End Sub |
|