This should (not tested) export a batch of videos from ppt files in a folder on the desktop names "Files"
Sub BatchVid2()
Dim rayFileList() As String
Dim FolderPath As String
Dim FileSpec
Dim strTemp As String
Dim x As Long
Dim saveName As String
Dim PresName As String
Dim opres As Presentation
FolderPath = Environ("USERPROFILE") & "\Desktop\Files\"
FileSpec = "*.ppt*"
' Fill the array with files that meet the spec above
ReDim rayFileList(1 To 1) As String
strTemp = Dir$(FolderPath & FileSpec)
While strTemp <> ""
rayFileList(UBound(rayFileList)) = FolderPath & strTemp
ReDim Preserve rayFileList(1 To UBound(rayFileList) + 1) As String
strTemp = Dir
Wend
If UBound(rayFileList) > 1 Then
ReDim Preserve rayFileList(1 To UBound(rayFileList) - 1)
For x = 1 To UBound(rayFileList)
Call Presentations.Open(rayFileList(x), False, False, True)
Next x
End If
For x = 1 To UBound(rayFileList)
PresName = Mid(rayFileList(x), InStrRev(rayFileList(x), "\") + 1)
saveName = Left(PresName, InStrRev(PresName, ".") - 1)
Presentations(PresName).CreateVideo FileName:=FolderPath & saveName & ".mp4", _
UseTimingsAndNarrations:=True, _
VertResolution:=1080, _
FramesPerSecond:=25, _
Quality:=100
Next x
End Sub
There is no built in way to export a single slide to a video you would need to save a copy and delete unwanted slides.