Is there a way to insert an audio file in VBA code and how would I write the loop so that it advances the slide right after the audio file finishes playing until the slideshow is done? (ie "Advancing to next slide in 3....2....1...." [changes to next slide])
For example:
Sub AutoSlide()
while '(slideshownotover)
'wait 8 seconds
'play given audio wav file
ActivePresentation.SlideShowWindow.View.Next 'do this after audio finishes
End Sub
This isn't enough information to really understand the scenario. However, one possible approach would be:
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.