Hi,
We need to close some specific powerpoint presentations from another powerpoint presentation (leaving this presentation open and active). We tried some codes (see below), which worked really well on PPT97 & Win 2000, but failed to work on PPT2003 & WinXP :S!!
Can somebody help to make this code work on all computer environments?
The code we used:
Thanks, Huib
We need to close some specific powerpoint presentations from another powerpoint presentation (leaving this presentation open and active). We tried some codes (see below), which worked really well on PPT97 & Win 2000, but failed to work on PPT2003 & WinXP :S!!
Can somebody help to make this code work on all computer environments?
The code we used:
Code:
Dim aa As Presentation
For Each aa In Application.Presentations
With aa
Select Case .Name
Case "Presentation1", "Presentation2", "Presentation3"
.Close
End Select
End With
Next aa
Thanks, Huib