Word 2016 command name
I'm having trouble with an old macro that fails in Word 2016 and can't seem to find the new command name for this code.
CommandBars.ExecuteMso ("PictureChange")
This is the command that you see when you right click an image in Word and choose Change Picture > From a File
I'm using this line of code as part of a larger macro that allows the user to replace a graphic and crop the replacement to the same dimensions.
Does anyone know an alternate way to achieve this in Word 2016 when the inline shape is of type wdInlineShapePicture?
__________________
Andrew Lockton
Chrysalis Design, Melbourne Australia
|