Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #2  
Old 04-10-2019, 01:40 AM
macropod's Avatar
macropod macropod is online now Wrap Square and Resize Selected Picture Windows 7 64bit Wrap Square and Resize Selected Picture Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,467
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

Try:
Code:
Sub Demo()
Dim Shp As Shape
With Selection
  If .InlineShapes.Count > 0 Then
    Set Shp = .InlineShapes(1).ConvertToShape
  ElseIf .ShapeRange.Count > 0 Then
    Set Shp = .ShapeRange(1)
  End If
End With
If Not Shp Is Nothing Then
  With Shp
    .LockAspectRatio = True
    .WrapFormat.Type = wdWrapSquare
    .Height = InchesToPoints(0.6)
  End With
End If
Set Shp = Nothing
End Sub
Alternatively, if you're doing bulk insertions, see: https://www.msofficeforums.com/word-...html#post47919
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
 

Tags
resize pictures, wrap



Similar Threads
Thread Thread Starter Forum Replies Last Post
Wrap Square and Resize Selected Picture Changing picture wrap text to Square Yonatanx3 Word VBA 2 01-20-2019 03:49 PM
Wrap Square and Resize Selected Picture Wrap Text Inside Picture marconexcel Drawing and Graphics 2 02-02-2018 05:01 PM
Wrap Square and Resize Selected Picture Wrap TABLES around picture? ShankedS Word Tables 2 11-16-2015 04:27 PM
Wrap Square and Resize Selected Picture Word - Resize image to specified selected cells' dimensions FaizanRoshan Word VBA 7 10-18-2015 03:34 PM
Wrap Square and Resize Selected Picture Tiny square but no picture pasted Seafarer Word 3 12-28-2011 05:35 PM

Other Forums: Access Forums

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


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