Here's an example where I use an Excel 97 VBA macro to copy a chart from
Excel into a PowerPoint Slide. Hope you find it useful.
Sub Chart_Into_Ppt()
Set PPT = New PowerPoint.Application
With PPT
.Visible = True
.Activate
End With
My_Pres = ThisWorkbook.Path & "\spcorch.ppt"
Set Pres = PPT.Presentations.Open(My_Pres)
For x = 1 To 3
Set Out_Sh = Workbooks("SPC_1.XLS").Sheets(x + 1)
Set My_Chart = Out_Sh.ChartObjects("X_Chart")
Title_Text = Out_Sh.[F201]
PPT.Windows(1).View.GotoSlide x
With Pres
.Slides(x).Shapes(1).TextFrame.TextRange.Characters.Text = Title_Text
.Slides(x).Shapes(2).Select
End With
My_Chart.CopyPicture Appearance:=xlPrinter, Format:=xlPicture
PPT.Windows(1).View.Paste
Next
End Sub
Scott Staples <
scst...@aristotle.net> wrote in message
news:l31g5.11204$we.3...@news-west.usenetserver.com...