home *** CD-ROM | disk | FTP | other *** search
- Sub ExcelGraph()
- ActiveSheet.ChartObjects.Add(31.5, 105.75, 328.5, 242.25).Select
- Application.CutCopyMode = False
- ActiveChart.ChartWizard Source:=Range("MySourceData"), Gallery:=xl3DArea, _
- Format:=6, PlotBy:=xlColumns, CategoryLabels:=1, SeriesLabels _
- :=1, HasLegend:=2, Title:="A Nice Title", CategoryTitle:="", _
- ValueTitle:="", ExtraTitle:=""
- End Sub
-