U
Ultraviolet47
Hi
I have made a system for someone. There is a button in the Acces db to
open a Power Point slide with this code.
Private Sub Print_Certificate_Click()
Set objPPT = CreateObject("PowerPoint.Application")
objPPT.Visible = True
Set objPresentation = objPPT.Presentations.Open("C:\Documents and
Settings\Stel\My Documents\Cavy\Sponsorship pack\Sponsors
\SponsorshipCertificate.ppt")
End Sub
which has always worked perfectly on my computer. Now they've tried it
on their computer and it opens PP (but not the slide) and comes up
with this error message
Run-time error -2147467259 (800004005). The only other ref I've found
to this error on here is when there are more than 100 records, but
this can't affect opening a power point slide can it? I am unsure how
many records are now in the db since it has been installed on their
computer, but I doubt it's that many. The file is correctly installed
in the destination folder.
Please can someone suggest why it will open PP, but not the file?
Thank you!
I have made a system for someone. There is a button in the Acces db to
open a Power Point slide with this code.
Private Sub Print_Certificate_Click()
Set objPPT = CreateObject("PowerPoint.Application")
objPPT.Visible = True
Set objPresentation = objPPT.Presentations.Open("C:\Documents and
Settings\Stel\My Documents\Cavy\Sponsorship pack\Sponsors
\SponsorshipCertificate.ppt")
End Sub
which has always worked perfectly on my computer. Now they've tried it
on their computer and it opens PP (but not the slide) and comes up
with this error message
Run-time error -2147467259 (800004005). The only other ref I've found
to this error on here is when there are more than 100 records, but
this can't affect opening a power point slide can it? I am unsure how
many records are now in the db since it has been installed on their
computer, but I doubt it's that many. The file is correctly installed
in the destination folder.
Please can someone suggest why it will open PP, but not the file?
Thank you!