Macros code to shuffle selected slides and also to pick a random slide
Hi All,
I have made a powerpoint slideshow which I am going to use to randomly pick a slide.
I have a blank first slide with an audio file inserted which plays across the slideshow then two title slides then 24 slides with names on. I then have repeated slides of these name slides which are hidden and a final slide with is unhidden and this has a box to click on which activates the random macros to pick a random slide from the hidden 24 slides (they are hidden as I have to delete and replace some slides through the course of using it and this way it doesn't affect the unhidden slides).
This worked fine but the audio file stopped playing when the random slide was picked so I added a different audio file just to the side of each hidden slide which worked ok but I also wanted to add a shuffle slides code to my macros to shuffle all the hidden slides each time the random macros is activated however my problem is that when I add the code to shuffle the slides under the existing code that picks a random slide then the audio file that I added to each hidden slide doesn't play after the random slide is picked.
Currently the picker works fine but at the moment the shuffle part doesn't work. I only want to shuffle slides 28 to 51.
This is my random picker powerpoint along with all files and font.
https://www.transfernow.net/dl/202409077NUjU9c7
Thanks in advance.
Marcus.