
4,383 questions
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Good morning,
I am currently trying to automatically export slides from my powerpoint. (I automatically retrieve the data from Excel and change the text boxes accordingly, and it works perfectly well π).
But when I try to export the video with the command that follows, I get the following error.
Line:
Set PowerPointSlide = ActivePresentation.Slides(1)
#doing stuff
PowerPointSlide.Export "D:\test.mp4", "MP4"
I have this error:
Thanks for the help!!!
Try this:
ActivePresentation.CreateVideo FileName:="D:\test.mp4", DefaultSlideDuration:=5