Chris,
Use the new AddChart method:
call PPT_SLD.Shapes.AddChart(xl3DPie,0,0,350,250)
--
Regards,
Shyam Pillai
Animation Carbon: Copy/Paste/Share animation libraries.
www.animationcarbon.com
"chris" <(E-Mail Removed)> wrote in message
news:8325D559-EB6C-4DE5-A7EC-(E-Mail Removed)...
> In previous office versions I was using the commands below for adding an
> Excel chart on current slide.
>
> PPT_SLD.Shapes.AddOLEObject Left:=var_chrt_L, Top:=var_chrt_T,
> Width:=var_chrt_W, Height:=var_chrt_H, ClassName:="Excel.Chart.8",
> Link:=msoFalse
>
> How can I add chart now in 2007 from code ? (it's not easy now that macro
> recorder is removed)
>
> Thanks a lot in advanve.