G
Gregg Church
When my vba code hits the Application.Quit method a Powerpoint must exit
error message box is created with the option to send the dump to MS.
I just want PPT to exit.
Is there something I'm doing wrong?
Here is the code:
Sub OnSlideShowPageChange(ByVal SSW As SlideShowWindow)
If SSW.View.CurrentShowPosition = _
SSW.Presentation.SlideShowSettings.StartingSlide Then
If CheckPath("U:\Logfiles\Powerpoint\NewShow.txt") Then
Application.Quit
End If
End Sub
Private Function CheckPath(strPath As String) As Boolean
If Dir$(strPath) <> "" Then
CheckPath = True
Else
CheckPath = False
End If
End Function
Thanks,
ggg
error message box is created with the option to send the dump to MS.
I just want PPT to exit.
Is there something I'm doing wrong?
Here is the code:
Sub OnSlideShowPageChange(ByVal SSW As SlideShowWindow)
If SSW.View.CurrentShowPosition = _
SSW.Presentation.SlideShowSettings.StartingSlide Then
If CheckPath("U:\Logfiles\Powerpoint\NewShow.txt") Then
Application.Quit
End If
End Sub
Private Function CheckPath(strPath As String) As Boolean
If Dir$(strPath) <> "" Then
CheckPath = True
Else
CheckPath = False
End If
End Function
Thanks,
ggg