Ethen5155
01-02-2019, 06:32 AM
Hello,
well, I'm trying to get a possible way for a macro can move all non inline images (flowing images) with a specific criteria as following for ex.
A= get the page width size (215.9 mm) whatever it is
23490
B= get the image width size (60.96 mm) whatever it is
23491
C= get the Absolute position for image in page (32.3 mm) whatever it is
23492
then make (A) - (B) - (C) = the new position for image in page
215.9 - 60.96 - 32.3 = 122.64
23493
Notes:
- all changes should be to the page not margin
- all changes should be applied for non inline images only (flowing images)
samples file is attached for before and after.
23494
Thanks in advance
Cross-posting link : here (https://www.excelforum.com/word-programming-vba-macros/1258424-move-images-to-specific-position.html#post5036382)
well, I'm trying to get a possible way for a macro can move all non inline images (flowing images) with a specific criteria as following for ex.
A= get the page width size (215.9 mm) whatever it is
23490
B= get the image width size (60.96 mm) whatever it is
23491
C= get the Absolute position for image in page (32.3 mm) whatever it is
23492
then make (A) - (B) - (C) = the new position for image in page
215.9 - 60.96 - 32.3 = 122.64
23493
Notes:
- all changes should be to the page not margin
- all changes should be applied for non inline images only (flowing images)
samples file is attached for before and after.
23494
Thanks in advance
Cross-posting link : here (https://www.excelforum.com/word-programming-vba-macros/1258424-move-images-to-specific-position.html#post5036382)