VB6.0如何操作ppt2007默认的图表
各位大师好,VB6.0如何操作ppt2007默认的图表呢?望给个提示,谢谢
Sub Macro2() ActiveWindow.Selection.SlideRange.Shapes.AddOLEObject(Left:=120, Top:=110, Width:=480, Height:=320, ClassName:="MSGraph.Chart", Link:=msoFalse).Select ActiveWindow.Selection.ShapeRange.OLEFormat.Activate With ActiveWindow.Selection.ShapeRange .Left = 120 .Top = 109.875 .Width = 480 .Height = 320.25 End With End Sub