View Single Post
 
Old 04-11-2012, 10:51 AM
Cosmo Cosmo is offline Windows Vista Office 2007
Competent Performer
 
Join Date: Mar 2012
Posts: 240
Cosmo is on a distinguished road
Default

ppte is defined as 'Object', but you dont show any lines setting it to anything - What is it supposed to be?

'with ppt' ... ppt is not defined as a variable in your posted code, what type is it and where does it get set?

If this works
Quote:
With ppt
.Visible = True
.Presentations.Open ("C:\Users\User\Documents\MyPPT.ppt")
End With
then you should be able to change it to
Quote:
With ppt
.Visible = True
.Presentations.Open ("C:\Users\User\Documents\MyPPT.ppt")
.ActiveWindow.View.GotoSlide 3
End With
Reply With Quote