View Single Post
 
Old 11-21-2016, 10:17 PM
staicumihai staicumihai is offline Windows 7 32bit Office 2010 32bit
Advanced Beginner
 
Join Date: Dec 2015
Posts: 33
staicumihai is on a distinguished road
Default Macro to apply artistic effect to selected picture in Microsoft Word 2010.

Hi guys,
I have this macro that resizes a picture

Code:
Sub latime15()
On Error Resume Next
Dim oShp As Shape
Dim iShp As InlineShape
Dim ShpScale As Double
With Selection
  For Each iShp In .InlineShapes
    With iShp
      If .Type = wdInlineShapePicture Or wdInlineShapeLinkedPicture Then
      iShp.Borders.OutsideLineStyle = wdLineStyleSingle
  iShp.Borders.OutsideLineWidth = wdLineWidth100pt
        .Width = 450
      End If
    End With
  Next iShp
End With
End Sub
How can I modify the macro to apply artistic effect (photocopy) to the picture ?
Reply With Quote