Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #5  
Old 10-12-2018, 05:30 AM
aysherryan aysherryan is offline Macro to format picture Windows 7 64bit Macro to format picture Office 2010 64bit
Novice
 
Join Date: Aug 2018
Location: Singapore
Posts: 5
aysherryan is on a distinguished road
Default Try the following

Dim shp As word.Shape
'' Works on the currently selected Shape
Set shp = Selection.ShapeRange(1)
'' If you know which Shape, by index or by Name, then
' Set shp = ActiveDocument.Shapes(indexOrName)
'' If the object is currently an InlineShape it must first
'' be converted to a Shape
' Set shp = InlineShapeObject.ConvertToShape
shp.WrapFormat.Type = wdWrapFront
Reply With Quote
 

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Macro to format picture how to exit from Format 'Picture Tools'? ftcnet Word 1 07-28-2016 12:21 AM
Macro to format picture what picture format best for first pdf then printing ketanco Word 1 04-11-2016 05:46 PM
Macro to select an { includepicture } field code and format the picture behind text and 100% scale sanpedro Word VBA 3 03-30-2015 10:50 PM
Macro to format picture "format picture" - arrows show as no line atop picture marbeth Word 3 07-08-2011 02:16 PM
Problem w/ Format Picture (size) John Woram PowerPoint 0 01-31-2010 10:29 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 07:50 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