Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #7  
Old 10-18-2015, 12:52 PM
macropod's Avatar
macropod macropod is offline Word - Resize image to specified selected cells' dimensions Windows 7 64bit Word - Resize image to specified selected cells' dimensions Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,521
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 FaizanRoshan View Post
Its work good but no as i want, if original picture height > width then after running code its resize on width and crop height with picture size. or if width > height then code resize width only with cell size.
Well, you did say in your first post:
Quote:
fill the target cell(s) without exceeding their boundaries
Unless the aspect ratio is the same as the cell, you cannot fill it in both directions without exceeding the boundaries. But, if that's what you want, change > to <.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
 

Tags
ms word 2010, picture format, word vba macro



Similar Threads
Thread Thread Starter Forum Replies Last Post
Word template that automatically resize's and formats image layout vikkitoria60 Word VBA 3 09-30-2015 01:16 PM
Insert and resize image lenguyenleduong Word VBA 2 05-11-2014 07:23 AM
Shortcut for image resize Hatthans PowerPoint 0 01-06-2014 04:32 PM
How to resize the image in the header so that it fits the page Isadora Excel 1 08-20-2013 06:02 AM
Image proportional resize not functioning! alexfcm PowerPoint 0 09-27-2012 07:22 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 05:57 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