D
Dgar007
Guest
Hi,
I have a hyperlink that goes out to a powerpoint presentation. I use a subaddress to get to the slide I want depending on which record the user is on in the access97 db. This works fine as long as there is a slide for each record. If no slide exists it automatically brings up the first slide in the presentation. I would like to trap that error before it get to that point, but no error is raised. Has anyone encountered and resolved this issue before?
Here is a partial of the code:
Dim strInput As String
strInput = "h:\corporate\ApplicationRepository\AppRep.ppt" 'powerpoint 'presentation
Application.FollowHyperlink strInput, Me.SFTWNO, False 'slide within presentation corresponding to record
lblTest.ForeColor = vbRed 'changes color of label to red.
Thanks in advance,
I have a hyperlink that goes out to a powerpoint presentation. I use a subaddress to get to the slide I want depending on which record the user is on in the access97 db. This works fine as long as there is a slide for each record. If no slide exists it automatically brings up the first slide in the presentation. I would like to trap that error before it get to that point, but no error is raised. Has anyone encountered and resolved this issue before?
Here is a partial of the code:
Dim strInput As String
strInput = "h:\corporate\ApplicationRepository\AppRep.ppt" 'powerpoint 'presentation
Application.FollowHyperlink strInput, Me.SFTWNO, False 'slide within presentation corresponding to record
lblTest.ForeColor = vbRed 'changes color of label to red.
Thanks in advance,