A family of Microsoft presentation graphics products that offer tools for creating presentations and adding graphic effects like multimedia objects and special effects with text.
Basic example of automating it from Excel.
Dim oPPT As Object 'PowerPoint.Application
Dim oPres As Object 'PowerPoint.Presentation
Dim oSld As Object 'PowerPoint.Slide
Range("A3:B25").CopyPicture
Set oPPT = CreateObject("PowerPoint.Application")
If Not oPPT Is Nothing Then
oPPT.Visible = True 'make the window visible (optional)
Set oPres = oPPT.presentations.Add(msoTrue)
With oPres
Set oSld = .Slides.AddSlide(1, .Designs(1).SlideMaster.CustomLayouts(1))
With oSld
With oSld.Shapes.Paste(1)
.Top = 10
.Left = 10
End With
End With
.SaveAs "c:\temp\test.pptx", ppSaveAsDefault
End With
Else
MsgBox "PowerPoint object could not be instantiated.", vbExclamation
End If
Regards, Shyam Pillai. http://skp.mvps.org