Relative Content

Tag Archive for vbapowerpoint

Read Hyperlink Value to Presented Slide

I have a table on slide 2 of my PowerPoint presentation with three values: 100, 120, and 300. I have hyperlinked these values to slides 4, 5, and 6, respectively.

Macro to update shape color on click in PowerPoint

I am trying to create a macro that will toggle a shape’s color upon clicking. I’ve assigned the macro below to a shape, and it should execute with a click. However, when I click, nothing happens. Do I need to name the shape something specific? or is there something wrong in the VB language?

VBA script powerpoint auto play random video in slide show mode with looping

Got some VBA code doing great work but lacking the ability to autoplay the video in slideshow mode. Also, since this is a slide used in a bigger kiosk kind of presentation in a loop, I need the slide to being able to execute the random video VBA code each time this slide # is called upon. Maybe I need a complete overhaul of this VBA code to reach my goal? Maybe I need a different perspective on how to achieve my goal? Hope someone can help me with this.

VBA script powerpoint auto play random video in slide show mode with looping

Got some VBA code doing great work but lacking the ability to autoplay the video in slideshow mode. Also, since this is a slide used in a bigger kiosk kind of presentation in a loop, I need the slide to being able to execute the random video VBA code each time this slide # is called upon. Maybe I need a complete overhaul of this VBA code to reach my goal? Maybe I need a different perspective on how to achieve my goal? Hope someone can help me with this.

How can I Trim a video on a Powerpoint slide via VBA?

I have several video files (~20). With each one I also have 3-5 discussion questions. In similar situations in the past I have used Zoom to record an .mp4 video of a 3-4 slide Powerpoint 2019 presentation–1 slide for the video, the rest for the questions. But I had to pause the Zoom recording, trim […]

How to run VBA code in powerpoint if my slides are all autotransition

My powerpoint contains 5 slides. The first slide is just a coverpage with a textbox “Welcome to presentation”. It has audio speech. After the speech, it will auto transition to slide 2.
The slide 2 is a multiple choice question. It has a question with 4 choices. I use optionbutton (activex control) for the 4 choices. Only 1 selection can be made as there is only one correct answer among the the 4 choices. It will show you made the correct choice or not before it auto transit to slide 3.
The slide 3 is the same as slide 2 with a multiple question and auto transit after choice made.
The slide 4 is also the same as slide 2 and slide 3.
The slide 5, I want to display a text box with the total correct score out of 3.
I try to insert the code in slide 5 but it does not run. I think if the slides are manually click, the code will run.