Share via

Multip;e replacements in Powerpoint slides

Anonymous
2021-02-23T10:25:02+00:00

How do I replace a single text box or shape at a specific location in multiple slides? I want to also include the font and colour used in the replacement - eg. it might be the same word or shape but in a different colour?

Microsoft 365 and Office | PowerPoint | For home | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

4 answers

Sort by: Most helpful
  1. John Korchok 232.4K Reputation points Volunteer Moderator
    2021-02-24T15:16:42+00:00
    1. I searched on powerpoint vba find shape by position and replace.
    2. I found this page: VBA Powerpoint - find shape and replace
    3. It had this code that you can adapt to do what you need:

    Sub ReplacePowerPointShape(ByVal PowerPointShapeToReplace As Object, ByVal ShapeToCopy As Object)

    Dim targetSlide As Slide

    Set targetSlide = PowerPointShapeToReplace.Parent

    ShapeToCopy.Copy

    targetSlide.Shapes.Paste

    With targetSlide

    With .Shapes(.Shapes.Count)

    .LockAspectRatio = msoFalse

    .Left = PowerPointShapeToReplace.Left

    .Top = PowerPointShapeToReplace.Top

    .Width = PowerPointShapeToReplace.Width

    .Height = PowerPointShapeToReplace.Height

    End With

    End With

    PowerPointShapeToReplace.Delete

    End Sub

    Here's a page that explains how to loop over every slide: Loop Through Each Slide In Your PowerPoint Presentation

    Was this answer helpful?

    0 comments No comments
  2. Anonymous
    2021-02-24T10:48:29+00:00

    John

    I have searched your highlighted text and not found anything relating to the question. Am I missing something?

    Was this answer helpful?

    0 comments No comments
  3. John Korchok 232.4K Reputation points Volunteer Moderator
    2021-02-23T17:55:48+00:00

    You would have to write a VBA macro to do that. Searching on powerpoint vba find shape by position and replace gets results.

    Was this answer helpful?

    0 comments No comments
  4. Nikolino 2,120 Reputation points
    2021-02-23T10:49:32+00:00

    It is not that easy to do it automatically with a simple command.

    You need a good hierarchical division in Powerpoint beforehand.

    You could do this with Slide Master if it was already carefully designed.

    Try it! (click on header fo rmore info - video includet)

    Use a slide master to add consistency to your colors, fonts, headings, logos, and other styles, and to help unify the form of your presentation. Change the Slide Master

    1. Select View > Slide Master.
    2. Make the text, color, and alignment changes you want.
    3. Select Close Master View.

    Want more? What is a slide master?

    Customize a slide master

    Add color and design to my slides with themes

    Use multiple themes in one presentation

    I would be happy to know if I could help.

    Nikolino

    I know I don't know anything (Socrates)

    * Kindly Mark and Vote this reply if it helps please, as it will be beneficial to more Community members reading here.

    * Beware of scammers posting fake support numbers here.

    Was this answer helpful?

    0 comments No comments