B
Billy B
I have been at this now for about four days. I am using Access and PPT 2002
and want to open a powerpoint pps file from a timer event. The timer works
fine. Below is the code I have developed so far.
If timeDif >= 60 And blnPowerPointIsOpen = False Then
blnPowerPointIsOpen = True
Dim path As String
path = "C:\Documents and Settings\Wally\Desktop\Testing Hawleys
DB\test_ScreenSaver.pps"
Dim MyPP As Powerpoint.Application
Dim pres As Powerpoint.presentation
Dim MyPP As presentation
Set MyPP = New Application
MyPP.Visible = True
MyPP.WindowState = ppWindowMaximized
Set pres = MyPP.Presentations.Open(path)
End If
I get an error message on the line.
Dim MyPP As Powerpoint.Application
Checking on the internet, it looks like this should work.
PS. I have also created a macro, used the RunApp action with the following
in the command line: "PowerPnt.exe" "C:\Testing.pps" and get an error message
that it cant find the pps file. It is there, and when I exit the code PPT is
opened with the slides showing in the edit mode, not the show.
I have tried and any help is greatly appreciated.
Thank you all for your help
and want to open a powerpoint pps file from a timer event. The timer works
fine. Below is the code I have developed so far.
If timeDif >= 60 And blnPowerPointIsOpen = False Then
blnPowerPointIsOpen = True
Dim path As String
path = "C:\Documents and Settings\Wally\Desktop\Testing Hawleys
DB\test_ScreenSaver.pps"
Dim MyPP As Powerpoint.Application
Dim pres As Powerpoint.presentation
Dim MyPP As presentation
Set MyPP = New Application
MyPP.Visible = True
MyPP.WindowState = ppWindowMaximized
Set pres = MyPP.Presentations.Open(path)
End If
I get an error message on the line.
Dim MyPP As Powerpoint.Application
Checking on the internet, it looks like this should work.
PS. I have also created a macro, used the RunApp action with the following
in the command line: "PowerPnt.exe" "C:\Testing.pps" and get an error message
that it cant find the pps file. It is there, and when I exit the code PPT is
opened with the slides showing in the edit mode, not the show.
I have tried and any help is greatly appreciated.
Thank you all for your help