Using Powerpoint inside Exel program

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have been working with an Excel Program I developed in VB and would like to
embed a powerpoint presentation and make it available to the user as a help
and instruction slide show. Is it possible to embed a powerpoint
presentation in an excel workbook? I am using Office 2000 premium.

I really do not like the new "ribbon" office program. Sorry!
 
Should be as simple as

Dim oPPT As Object
Dim oPres As Object
Const sFilename As String = _
"C:\myFiles\myPP.ppt"

Set oPPT = CreateObject("PowerPoint.Application")
oPPT.Visible = True
Set oPres = oPPT.presentations.Open(sFilename)
oPres.slides(1).Shapes("slideid").Copy
ActiveSheet.Paste
oPres.Close
Set oPres = Nothing
oPPT.Quit
Set oPPT = Nothing

--
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top