I must be missing something really obvious here, but can’t find out what! I’m just trying to open a powerpoint file (in this case a slide show, but I get the same error with presentations) using VBA in Excel (this isn’t the exact code I’m using but amounts to the same thing):
Dim pp as Powerpoint.Application, pps as Powerpoint.Presentation
Set pp = New Powerpoint.Application
Set pps = pp.Presentations.Open(“H:My Documentsfilename.pps”)
… and get the error shown in the attached screenshot. What am I doing wrong?
-
Opening a powerpoint file in VBA (Office XP)
- This topic has 5 replies, 2 voices, and was last updated 20 years, 4 months ago.
AuthorViewing 0 reply threadsAuthorViewing 0 reply threads