OK. As it happens we already have in house code for this.
Download the pptm file here. You can check out the function by right clicking the image and seeing the new entry in the menu. There is hidden XML code as well as the vba you can see.
To make it into an AddIn if it's what you need.
Save As but choose type= *.ppam AddIn
Save in the default folder that opens.
If you do not have the DEVELOPER Tab visible enable from File > Options > Customise Ribbon ansd tick DEVELOPER in the Right pane
Now choose DeVELOPER > AddIns and Add New > Choose Right.ppam
All done
Oh you cannot create shortcut keys in PPT and NO you can't borrow Antonia!
The code in the link will distort images the code here won't.




Reply With Quote