Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 11-21-2016, 10:17 PM
staicumihai staicumihai is offline Macro to apply artistic effect to selected picture in Microsoft Word 2010. Windows 7 32bit Macro to apply artistic effect to selected picture in Microsoft Word 2010. Office 2010 32bit
Advanced Beginner
Macro to apply artistic effect to selected picture in Microsoft Word 2010.
 
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
  #2  
Old 11-22-2016, 07:17 AM
gmayor's Avatar
gmayor gmayor is offline Macro to apply artistic effect to selected picture in Microsoft Word 2010. Windows 10 Macro to apply artistic effect to selected picture in Microsoft Word 2010. Office 2016
Expert
 
Join Date: Aug 2014
Posts: 4,101
gmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud of
Default

Do you mean like
Code:
iShp.Fill.PictureEffects.Insert msoEffectPhotocopy
__________________
Graham Mayor - MS MVP (Word) (2002-2019)
Visit my web site for more programming tips and ready made processes www.gmayor.com
Reply With Quote
  #3  
Old 11-24-2016, 01:41 AM
staicumihai staicumihai is offline Macro to apply artistic effect to selected picture in Microsoft Word 2010. Windows 7 32bit Macro to apply artistic effect to selected picture in Microsoft Word 2010. Office 2010 32bit
Advanced Beginner
Macro to apply artistic effect to selected picture in Microsoft Word 2010.
 
Join Date: Dec 2015
Posts: 33
staicumihai is on a distinguished road
Default

Thanks man!
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Word 2010 Run-Time error 4198 with Insert Picture with Caption and Fram Macro jstills116 Word VBA 0 06-24-2016 07:46 AM
Macro to apply artistic effect to selected picture in Microsoft Word 2010. Picture properties bug in Word 2010 Macro Recorder ralphpickering Word VBA 5 10-24-2012 10:15 AM
Macro to apply artistic effect to selected picture in Microsoft Word 2010. Macro to apply style to selected tables ubns Word 1 08-02-2012 04:09 AM
Macro - Microsoft Word 2010 OfficeHelpSG Word 3 10-18-2011 11:54 AM
Macro to apply artistic effect to selected picture in Microsoft Word 2010. (again): What is the effect of proofing tools on languages on Microsoft Word? Jamal NUMAN Word 1 09-05-2011 03:17 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 12:34 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft