2016年9月23日星期五

Troubleshoot:Creating a Macro for Resizing several photos in Word while keeping the aspect ratio Error

Creating a Macro for Resizing several photos in Word while keeping the aspect ratio

I am looking to create a macro that will resize photos in Word.  I bring in a number of photos, some are horizontal and some are vertically oriented.  There are different amounts of photos each time I do this.  I would like to have a macro that will resize
all the horizontally oriented ones to a height of 3.3" and the vertically oriented ones to a width of 3.3".  The aspect ratio needs to be maintained for each photo. 
 
I've been trying the code for programs like this and I was able to use one, but it didn't distinguish between the different orientations.  I was thinking that if the macro was written to check the photo so if the height divided by the width is greater than
1, then it would make the width 3.3".  and if not, then it would make the height 3.3". 
 
Also....after the photos are resized, I want to add a couple of lines of text that would be beneath each photo.  Would it be easier to add the text at the same time as the resizing of each photo, or have a separate subroutine that runs after all the photos
are resized? 
 
My problem is that I have only taken one VB class and it was several years ago.  I understand loops and if/then statements, just don't really know how to code it. 
 
Any help would be appreciated. 
 
Joan

Keys to the Problem Creating a Macro for Resizing several photos in Word while keeping the aspect ratio

Download Error Fixer (Free)

If you failed to fix it, another option is to call Microsoft and walk through the process with a technician. To do this, dial "1-800-936-5700". Explain the error that you received and the steps in the update process during which it was displayed. The technician will be able to walk through the steps from getting a new product key to finishing the installation.

Another Safe way to Repair the Problem: Creating a Macro for Resizing several photos in Word while keeping the aspect ratio:

How to Fix Creating a Macro for Resizing several photos in Word while keeping the aspect ratio with SmartPCFixer?

1. Download SmartPCFixer. Install it on your computer.

2. After the scan is done, you can see the errors and problems which need to be fixed.

3. The Repair part is done, the speed of your computer will be much higher than before and the errors have been fixed. You can also use other functions in SmartPCFixer. Like dll downloading, junk file cleaning and print spooler error repair.


Related: How Can You Update & Download NVidia 6100, 6800 GS/XT Display Driver v.260.89 WHQL,Where to Download NVidia GeForce 8800 GT WHQL-certified driver v.196.21,How to Update & Download NVidia GeForce Go 7400 Display Driver v.260.19.12,[Solved] Download NVidia GeForce GTX 460M Driver v.331.82,Download NVidia Quadro Plex Model IV VGA Driver v.304.43 Certified,Way to Download RealTek RTL8100C(L) Driver v.5.01,Way to Download RealTek RTL8100E Drivers v.694,Way to Update & Download RealTek RTL8101L Auto Installation Program v.6.110 driver,Method to Update & Download RealTek RTL8111G PXE and RPL ROM code v.2.58 driver,How to Update & Download RealTek RTL8411B(N) Driver v.10.003,Best Way to Update & Download ASUS A53SV nVidia Graphics Driver v.8.17.12.6686,Method to Herunterladen ASUS K75VJ Intel Rapid Storage Technology Treiber v.11.6.0.1030,How Can You Update & Download ASUS CG8580 Intel Chipset Driver v.9.3.0.1019,Method to Update & Download ASUS K41VD Intel INF Update Driver v.9.1.1.1015,Way to Update & Download ASUS Pro70T NB Probe v.3.0.0026 driver
Read More: Solution to Error: Continuous exeuction of pagefile.sys on starting windows 7,Creating Chart As a new Sheet [Solved],Creating document templates for mail merge,Troubleshoot:CPU locking at 100%,Troubleshoot:count a value only if it is unique and another value is equal to 0,Closing Internet Explorer causes error,Compare 2 Tables and Calculate the PROFIT Faster,Computer goes to Windows Boot Manager after Start,Connect to one of my network computer remotely when don't allow exception box Marked,computer locking up randomly

没有评论:

发表评论

注意:只有此博客的成员才能发布评论。