Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 07-25-2018, 03:55 AM
macropod's Avatar
macropod macropod is offline Apply Picture formatting to all pictures in the word file Windows 7 64bit Apply Picture formatting to all pictures in the word file Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,467
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

As coded, the macro will process all wrapped and inline shapes in the document. There is nothing in the code that would limit it to less than that. Do bear in mind that, if the images' natural size is very large, the amount cropped of that might be minimal at the size they've been scaled to in the document.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
  #2  
Old 07-27-2018, 09:58 PM
si14 si14 is offline Apply Picture formatting to all pictures in the word file Windows Vista Apply Picture formatting to all pictures in the word file Office 2010 32bit
Novice
Apply Picture formatting to all pictures in the word file
 
Join Date: Jun 2012
Posts: 17
si14 is on a distinguished road
Default

Quote:
Originally Posted by macropod View Post
As coded, the macro will process all wrapped and inline shapes in the document. There is nothing in the code that would limit it to less than that. Do bear in mind that, if the images' natural size is very large, the amount cropped of that might be minimal at the size they've been scaled to in the document.
Thanks. As you mentioned, it is related to the image properties.
For example, two images have similar size in word file (145*160 mm), however, when I save them as image, their properties are:

Image 1:
Dimensions: 1280*1167 (pixels)
vertical/horizontal: 144 (dpi)

Image 2:
Dimensions: 1280*1167 (pixels)
vertical/horizontal: 96 (dpi)

and after running the code, the image size in the word file would be:
Image 1: 146*103
Image 2: 145*122

I checked and noticed that the images are either 144dpi or 96dpi.
I am wondering if there is any way to separately crop the images, according to their dpi. For example, crop the 144 dpi images by 4 mm and crop the 96 dpi images by 3 mm.

Thanks again for your time.
Reply With Quote
Reply

Tags
formatting, multiple, picture

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Word file with a lot of pictures. Picture size small, File size HUGE Blackcloud_9 Drawing and Graphics 1 04-10-2018 06:04 AM
Apply Picture formatting to all pictures in the word file Make a macro apply only on selected pictures Mattia Word VBA 2 11-10-2017 12:52 AM
Apply Picture formatting to all pictures in the word file Macro to apply artistic effect to selected picture in Microsoft Word 2010. staicumihai Word VBA 2 11-24-2016 01:41 AM
VBA Word Table - Select More than 1 Column at a time - Apply Formatting jc491 Word VBA 12 09-24-2015 06:03 AM
how do i apply any change to all pictures in one document greenil Word 0 06-18-2013 12:56 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 09:35 AM.


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