|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
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 |
#2
|
||||
|
||||
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 |
#3
|
|||
|
|||
Thanks man!
|
|
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 |
Picture properties bug in Word 2010 Macro Recorder | ralphpickering | Word VBA | 5 | 10-24-2012 10:15 AM |
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 |
(again): What is the effect of proofing tools on languages on Microsoft Word? | Jamal NUMAN | Word | 1 | 09-05-2011 03:17 AM |