Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #3  
Old 05-01-2019, 03:48 AM
eduzs eduzs is offline Organize shapes Windows 10 Organize shapes Office 2010 32bit
Expert
Organize shapes
 
Join Date: May 2017
Posts: 266
eduzs is on a distinguished road
Default

Quote:
Originally Posted by gmayor View Post
The images will adapt to the document width if the images are larger than the page width to start with, however smaller images will not.

The reason your code stacks the images is that you are converting them to shapes and adding a wrap option, for some reason which is not entirely clear, and then you are not repositioning the shapes. I see no reason to change them to shapes. The following will set your margins (though you could have done that before inserting the pictures) and will set the width to the width between the margins. As it is almost inevitable that there will be room for only one image on a page they will then be on separate pages.
Thanks gmayor!

I did some improvements, the code below will proportionally scale the shape to fit page margins (width and height) and apply a rotation (only available in shapes).

Have any optimization suggestions? Thanks!

Code:
 Code under construction

Last edited by eduzs; 05-01-2019 at 07:21 PM.
Reply With Quote
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
Organize shapes Filter or Lookup Formula to Organize Keywords MKTGCLOUD Excel 8 11-28-2018 07:35 PM
Organize shapes Best way to organize resources Steve. Project 3 05-17-2014 07:07 AM
Organize a shared mailbox with categories remmyMartin Outlook 0 04-03-2013 01:40 PM
Organize Sent mail/items outlookissues Outlook 0 05-13-2012 08:55 AM
organize files userman Excel 13 05-04-2012 03:49 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 03:34 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft