Skip to content

Instantly share code, notes, and snippets.

@KevinNitroG
Forked from rigwild/record.vb
Created August 4, 2022 11:06
Show Gist options
  • Save KevinNitroG/81d143ef37b054caf0f97e65b30de476 to your computer and use it in GitHub Desktop.
Save KevinNitroG/81d143ef37b054caf0f97e65b30de476 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