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
|