View Single Post
 
Old 05-09-2016, 08:52 PM
macropod's Avatar
macropod macropod is offline Windows 7 64bit Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,340
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

Quote:
Originally Posted by gmayor View Post
The table here fits the width between the margins so the column width will be determined by the (selected) number of columns that will fit between the current margins. Images will adapt to the width of the cells and the height is determined by the aspect ratio of the the imported image.
That's essentially the same as the code in the link I posted does, except that mine also invites the user to nominate the row height. Consequently, not only is the width constrained but so too is the height - useful if you're working with images using a mix of landscape and portrait formats.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote