![]() |
|
#3
|
||||
|
||||
|
Thanks Graham but I need to include a prompt to allow the user to choose an image to do the replacement with. It was all so easy with that line previously with Word 2007, 2010, 2013 and some versions of 2016 but it seems to fall over on a few 2016 machines now and I can't work out why it doesn't work anymore. The Office2016FluentUserInterfaceControlIdentifiers downloaded from MS lists PictureChange as a command but apparently it doesn't work in all versions of Word 2016
The rest of the code works fine and crops the replacement image if the aspect ratio doesn't match the graphic it is replacing.
__________________
Andrew Lockton Chrysalis Design, Melbourne Australia |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
Visio 2016 diagrams embeded in word 2016 not drawing properly
|
stubbo66 | Visio | 2 | 08-24-2016 05:58 PM |
Using a display alert command in Word
|
ch1325 | Word VBA | 2 | 04-30-2016 06:50 AM |
How to run command in word
|
si14 | Word | 3 | 06-10-2015 04:08 PM |
| From the command line, how do I run a Word macro? | jdockstader | Word | 7 | 02-04-2013 06:09 AM |
| Invoking a command line from inside Word | bolpom | Word | 1 | 03-16-2011 03:03 AM |