I have made an OLE object in a form named "frmPresentatie", I managed to load a powerpoint presentation into the object (using OLE because Powerpoint components aren't available for free)
I load the presentation using the following code:
Now I'm having difficulties navigating through the slides. I'd like to get the number of slides and find a way to go to the next/previous slide.Code:With frmPresentatie.objPP .Left = 0 .Top = 0 .Width = 1 .Height = 1 .OLETypeAllowed = acOLELinked .SourceDoc = bestandsnaam .Action = acOLECreateLink End With
I've tried many things already as ".SourceItem = FIRSTSLIDE", "debug.print objPP.Slides(i).SlideID".. but nothing seems to work..
Can anyone help me out with this? I'd really appreciate..




Reply With Quote