Microsoft Office Forums Macro to resize main text box on all slides in a presentation

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 10-04-2019, 01:26 PM
Picard Picard is offline Macro to resize main text box on all slides in a presentation Windows 10 Macro to resize main text box on all slides in a presentation Office 2019
Novice
Macro to resize main text box on all slides in a presentation
 
Join Date: Oct 2019
Posts: 1
Picard is on a distinguished road
Default Macro to resize main text box on all slides in a presentation

Hi,



I need to export a large PDFs (roughly 1000 pages) into powerpoint, which I managed to do with foxit. Problem is the pages are A4 sized in the pdf, whereas powerpoint is set to 16:9 slides. The text ends up being centered on each slide. To fix this I have to drag the corners so that the text covers the entire width of the slide (leaving some margins).

After a lot of googling, I made the following macro:

Sub Resize2()
With ActiveWindowSelection.ShapeRange
.Height = 470
.Width = 900
.Left = 30
.Top = 40
End With
End Sub

This macro successfully resizes the text box to the dimensions I want. However, only the selected text box is resized, which means I'll have to repeat the process for every single slide.

Is there anyway I can modify the macro to take care of the whole presentation?

Thank you!
Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I lock an editable text box header and stop it moving with the rest of the main body text? thegaffa Word 6 09-28-2018 09:21 AM
Animating presentation slides SargeUSMC PowerPoint 0 03-15-2016 06:58 PM
Presentation keeps "jumping" back to the main page CharlotteMuenster PowerPoint 0 02-21-2014 05:50 AM
Macro to resize main text box on all slides in a presentation Resize video across multiple slides joelas PowerPoint 3 09-28-2010 07:59 PM
How many slides in a 30 min presentation barbara3010 PowerPoint 2 02-12-2009 10:12 AM


All times are GMT -7. The time now is 10:33 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2019, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2019 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft