I am trying to just create a simple Access form with buttons that will pop
up different powerpoint presentations but recieve an 'Invalid procedure call
or arguement' error when I try to run the ppt. Any ideas? Running both
Access and PPT 2000.
Here's the code I have:
Private Sub cmdTest_Click()
On Error GoTo Err_cmdTest_Click
Dim stAppName As String
stAppName = "C:\WINNT\Profiles\Desktop\AccessTest.ppt"
Call Shell(stAppName, 0)
Exit_cmdTest_Click:
Exit Sub
Err_cmdTest_Click:
MsgBox Err.Description
Resume Exit_cmdTest_Click
End Sub
Thanks in advance...
Matt