I have configured the following Visual Basic module script in my PowerPoint Presentation. As long as I create a new presentation and write the module, and do not exit from the PowerPoint program, the module will run properly every time I view the show.
However, if I exit from the presentation (after saving), and reopen it, the VB script will no longer execute. No error messages are given -- the script simply does not run.
If you have any ideas or suggestions, or need further information from me, please do not hesitate to ask.
This is MS PowerPoint 2003 (11.8324.8329) SP3.
Sub OnSlideShowPageChange(ByVal SSW As SlideShowWindow)
Select Case SSW.View.CurrentShowPosition
Case 1 'slide 1
Case 2 'slide 2
Shell "cmd.exe /c " & Chr$(34) & "notepad" & Chr$(34), vbMinimizedFocus
Case 3 'slide 3
Thanks for your assistance!