Run-time error -2147467259 (800004005) when opening PPt from Access 03

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!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top