V
vindys
Try this one.
Sub img_border()
For i = 1 To ActivePresentation.Slides.Count
With ActivePresentation.Slides(i)
For j = 1 To ActivePresentation.Slides(i).Shapes.Count
With ActivePresentation.Slides(i).Shapes(j)
If .Type = msoLinkedPicture Or .Type = msoPicture Then
.Fill.Transparency = 0#
.Line.Weight = 5.75
.Line.Style = msoLineThinThick
.Line.Visible = msoTrue
.Line.ForeColor.RGB = RGB(150, 150, 150)
.Line.BackColor.RGB = RGB(255, 255, 255)
End If
End With
Next j
End With
Next i
End Sub
Sub img_border()
For i = 1 To ActivePresentation.Slides.Count
With ActivePresentation.Slides(i)
For j = 1 To ActivePresentation.Slides(i).Shapes.Count
With ActivePresentation.Slides(i).Shapes(j)
If .Type = msoLinkedPicture Or .Type = msoPicture Then
.Fill.Transparency = 0#
.Line.Weight = 5.75
.Line.Style = msoLineThinThick
.Line.Visible = msoTrue
.Line.ForeColor.RGB = RGB(150, 150, 150)
.Line.BackColor.RGB = RGB(255, 255, 255)
End If
End With
Next j
End With
Next i
End Sub