Thread: [Solved] Macro to format picture
View Single Post
 
Old 10-12-2018, 01:46 PM
macropod's Avatar
macropod macropod is offline Windows 7 64bit Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,375
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

The error message reported by the OP has nothing to do with your supposition that the image is a wrapped shape; indeed, the desire to apply top/bottom wrapping implies it is not.
Quote:
Originally Posted by aysherryan View Post
' If the object is currently an InlineShape it must first
'' be converted to a Shape
That simply isn't true; the borders & shadowing - which your code doesn't even attempt - can be applied beforehand. Moreover, your own code for the wrap format conversion follows your attempt to process the selection as a shape (it must precede that!!).
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote