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.
Powerpoint VBA Font.fill can’t get FillFormat object warning type mismatch
I have a sub to adjust single shape color properties, receive a Fillformat object to adjust transparency and rgb color.The code work well in shape.fill,but when it runs to textrange.font.fill, compiler warning “type mismatch”.
Trying To Change SeriesCollection.Values Using Powerpoint 365 VBA
I’m trying to change the value of a single bar chart via VBA, unsuccessfully.
I can read the value but, cannot change it.
Trying To Change SeriesCollection.Values Using Powerpoint 354 VBA
I’m trying to change the value of a single bar chart via VBA, unsuccessfully.
I can read the value but, cannot change it.
I can’t use VBA in PowerPoint
I can’t use VBA in PowerPoint and I’ve tried looking for different ways to fix this and I can’t. VBA is unavailable for me to use.As you can see in the image, I cannot use any function of the program.
How to use LeftIndent in VBA?
Here is my code I’m using but didn’t work
Powerpoint VBA Charts
I’m trying to get my code to change the chart style for all charts. I have managed this for tables but if I alter the code for charts it doesn’t work. Am I missing something? This is the code for tables that works and it seems to fall over as the Apply Style must use a different style for charts.
Is there a way to give an imported image a specific name – context is importing images into Microsoft VBA/Powerpoint
I’m trying to write a vba macro for powerpoint that imports images from a folder onto a slide. That part is easy. I’ve found that if I re-run the macro it adds the pictures each time (i.e. if I run the macro 4 times there will be 4 of the same picture). This is a macro that I need to be able to run a few times.
Toggle Axis on/off PowerPoint VBA
How do i combine these two to make the macro a toggle instead of needing two different macros to turn the axis on and off?
Powerpoint VBA Slide Rearranged Event
I’m trying to write a VBA macro for PowerPoint that updates a textbox based on the current section a slide is in. It was fairly straight forward to implement code that runs on the PresentationNewSlide event, however, I also want the code to run if the slide order is changed. The closest event I can find is SlideSelectionChanged, but that doesn’t seem like the right fit.