Create a simple PowerPoint macro to resize photos

Content
  1. Save time by quickly resizing many images
  2. Upload image
  3. Practice resizing an image
  4. Steps to Resize and Post an Image
  5. Record a PowerPoint macro
  6. Steps to Record a PowerPoint Macro
  7. Run a PowerPoint macro
  8. Steps to run a macro

Save time by quickly resizing many images

With high-definition and advanced cameras on smartphones, capturing high-quality images is no problem. However, these photos may be too large for slides in the next PowerPoint presentation. If you want to include a large number of images in PowerPoint, you can speed up their size without repeating the tedious task for each image. The answer is to create a macro that does the work for you.

Upload image

  1. Open the PowerPoint file and click on the first slide that will contain the image.

  2. Select Insert tab on the PowerPoint ribbon.

  3. Select Images > Image from file in the drop-down menu.

  4. Find the image on your computer, select it and click the button Insert

  5. Repeat this process for each of your photos after clicking on the slides where they appear. Don’t worry that the photos are currently too large for slides.

Practice resizing an image

In this example, you will resize all images by the same percentage or height. Before creating a macro to automate a task, try the steps on a single image so you know exactly what you want to do.

Steps to Resize and Post an Image

  1. Right click on the image and select Image format in the context menu.

  2. On panel Image format that appears to the right of the slide, click the Size and Features and make the necessary changes.

  3. In chapter The size enter a fixed height or width, or enter a height or width percentage scale. If you want all photos to be exactly 6 inches (15 cm) long, enter this information in the box next to . in Height † The width is adjusted proportionally. If you prefer to resize all images to 70 percent height, select a percentage in the box next to Scale height:

  4. Expand Section Position and select the desired position for the image on the slide. For example, if you want it to be exactly centered on the slide, select Centre as regards horizontal position and for vertical position

After you’ve made sure you know the steps to take, write them down and then undo the changes you made to the first slide.

Record a PowerPoint macro

When you are ready to install the macro:

  1. Select Tools in the PowerPoint menu bar.

  2. Choose from the menu macro Macros to open the Macro dialog box.

  3. To use a macro with a PowerPoint presentation open, exit the menu next to macros in by selecting Presentation 1

  4. Enter Macro name in the corresponding field. The name can contain letters and numbers, but must start with a letter and cannot contain spaces. Use an underscore to indicate a space in the macro name.

  5. Enter an optional description.

  6. Press the button walk only if you’re ready to continue, as the recording will start right away.

  7. Click close to at the bottom of the dialog box.

  8. Select all slides that contain the image you want to resize in the panel to the left of the slide.

  9. Go to section Tools Macros macros.

  10. Click the name of the macro you just created and click walk

Steps to Record a PowerPoint Macro

After clicking the “Run” button in the dialog box macro PowerPoint starts logging every mouse click and keystroke. Continue with the steps you practiced to create your macro to automate the task as you practiced. When you’re done, click the button Stop on the toolbar macro

Make sure to check the box next to As for the slide in the Align or Distribute menu.

The steps to align images on a slide are:

  1. Click Draw Align or distribute Align text in the middle to align the image horizontally with the slide.

  2. Click Draw Align or distribute Align text in the middle to align the image vertically on the slide

Steps to resize an image:

  • Right click on the image and select Format image in the context menu or click on the image and then click the button Format image on the toolbar Image † †

  • In the dialog box Image format go to tab The size and make the necessary changes.

  • Click Okay to make changes.

Press the button Stop when you are done recording.

Run a PowerPoint macro

Now that you’re done recording the macro, you can use it to complete this automated task. First, return the image to its original state before recording the macro, or go to the second slide.

Steps to run a macro

  1. Click on the slide to run the macro on.

  2. Select Tools macro Macros to open the Macro dialog box.

  3. Select the macro you want to run from the displayed list.

  4. Press the button walk

Repeat this process for each slide until you resize it.

It’s a good idea to resize photos before inserting them into a PowerPoint slide. This will reduce the file size and the presentation will run more smoothly.

Leave a Reply

Your email address will not be published.