Skip to content

Instantly share code, notes, and snippets.

@rigwild
Created March 7, 2022 11:17
Show Gist options
  • Save rigwild/539261191810c8291b851b702624eef6 to your computer and use it in GitHub Desktop.
Save rigwild/539261191810c8291b851b702624eef6 to your computer and use it in GitHub Desktop.
Export Powerpoint presentation as a 60 fps video
' Save presentation as pptm then create a macro in "View > Macros", run it
Sub MkVideo()
If ActivePresentation.CreateVideoStatus <> ppMediaTaskStatusInProgress Then
ActivePresentation.CreateVideo FileName:=Environ("USERPROFILE") & "\Desktop\video.wmv", _
UseTimingsAndNarrations:=True, _
VertResolution:=1080, _
FramesPerSecond:=60, _
Quality:=100
Else: MsgBox "There is another conversion to video in progress"
End If
End Sub
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment