C
christophercbrewster via OfficeKB.com
I have a routine that gets information from a Powerpoint file. To use Ppt, it
has this at the beginning:
Set ppt = GetObject(, "Powerpoint.Application")
ppt.Visible = True
ppt.presentations.Open "mypresentation.ppt"
But I can't find a way to close it. The obvious one doesn't work: using the
same statement as the last one above, but changing Open to Close. (I also
tried it with the filename deleted.) Any suggestions?
--
Christopher Brewster
Lockheed Martin, Eagan MN
Message posted via OfficeKB.com
http://www.officekb.com/Uwe/Forums.aspx/word-programming/200810/1
has this at the beginning:
Set ppt = GetObject(, "Powerpoint.Application")
ppt.Visible = True
ppt.presentations.Open "mypresentation.ppt"
But I can't find a way to close it. The obvious one doesn't work: using the
same statement as the last one above, but changing Open to Close. (I also
tried it with the filename deleted.) Any suggestions?
--
Christopher Brewster
Lockheed Martin, Eagan MN
Message posted via OfficeKB.com
http://www.officekb.com/Uwe/Forums.aspx/word-programming/200810/1