[LEFT][COLOR=#000000]Sub ChartsToPresentation()' [/COLOR]
[COLOR=#000000]Set a VBE reference to Microsoft PowerPoint Object Library[/COLOR]
[COLOR=#000000]Dim PPApp As PowerPoint.Application[/COLOR]
[COLOR=#000000]Dim PPPres As PowerPoint.Presentation[/COLOR]
[COLOR=#000000]Dim PPSlide As PowerPoint.Slide[/COLOR]
[COLOR=#000000]Dim PresentationFileName As Variant[/COLOR]
[COLOR=#000000]Dim SlideCount As Long[/COLOR]
[COLOR=red][B]Dim iCht As Integer[/B][/COLOR][/LEFT]
[LEFT][COLOR=#000000]' Reference existing instance of PowerPoint[/COLOR]
[COLOR=#000000]Set PPApp = GetObject(, "Powerpoint.Application")[/COLOR][/LEFT]
[LEFT][COLOR=#000000]' Reference active presentation[/COLOR]
[COLOR=#000000]Set PPPres = PPApp.ActivePresentation[/COLOR]
[COLOR=#000000]PPApp.ActiveWindow.ViewType = ppViewSlide[/COLOR][/LEFT]
[LEFT][COLOR=#000000]For iCht = 1 To ActiveSheet.[COLOR=red][B]ChartObjects[/B][/COLOR].Count [/COLOR]
[COLOR=#000000] ' copy chart as a picture [/COLOR]
[COLOR=#000000] ActiveSheet.[COLOR=red][B]ChartObjects[/B][/COLOR](iCht).[COLOR=red][B]Chart[/B][/COLOR].CopyPicture _ [/COLOR]
[COLOR=#000000] Appearance:=xlScreen, Size:=xlScreen, Format:=xlPicture[/COLOR][/LEFT]
[LEFT][COLOR=#000000] ' Add a new slide and paste in the chart[/COLOR]
[COLOR=#000000] SlideCount = PPPres.Slides.Count[/COLOR]
[COLOR=#000000] Set PPSlide = PPPres.Slides.Add(SlideCount + 1, ppLayoutBlank) [/COLOR]
[COLOR=#000000] PPApp.ActiveWindow.View.GotoSlide PPSlide.SlideIndex[/COLOR]
[COLOR=#000000] With PPSlide[/COLOR]
[COLOR=#000000] ' paste and select the chart picture[/COLOR]
[COLOR=#000000] .Shapes.Paste.Select[/COLOR]
[COLOR=#000000] ' align the chart [/COLOR]
[COLOR=#000000] PPApp.ActiveWindow.Selection.ShapeRange.Align msoAlignCenters, True[/COLOR]
[COLOR=#000000] PPApp.ActiveWindow.Selection.ShapeRange.Align msoAlignMiddles, True [/COLOR]
[COLOR=#000000] End With[/COLOR][/LEFT]
[LEFT][COLOR=#000000]Next[/COLOR][/LEFT]
[LEFT][COLOR=#000000]' Clean up[/COLOR]
[COLOR=#000000]Set PPSlide = Nothing[/COLOR]
[COLOR=#000000]Set PPPres = Nothing[/COLOR]
[COLOR=#000000]Set PPApp = Nothing[/COLOR][/LEFT]
[LEFT][COLOR=#000000]End Sub[/COLOR][/LEFT]
[COLOR=#000000]
</PRE>[/COLOR]