皮皮网

【linux 应用程序源码】【TJ4源码】【万利源码演示】VB图表源码_vb 图表

时间:2025-01-24 08:43:42 来源:freeradius源码下载 作者:共享门店源码搭建

1.请问在vb中如何调用excel的图表图表linux 应用程序源码表控件chart啊vb引用表控件

VB图表源码_vb 图表

请问在vb中如何调用excel的表控件chart啊vb引用表控件

       以下为关键部分'打开Set sf1 = CreateObject(\"Excel.Application\")sf1.Workbooks.AddSet sf2 = sf1.Workbooks(1)Set sf3 = sf2.ActiveSheet'作图 Range(\"A1:E5\").SelectCharts.AddActiveChart.ChartType = xl3DColumnActiveChart.SetSourceData Source:=Sheets(\"Sheet1\").Range(\"A1:E5\")ActiveChart.Location Where:=xlLocationAsObject, Name:=\"Sheet1\"ActiveWindow.Visible = False‘第二个图Charts.AddActiveChart.ChartType = xl3DPieExplodedActiveChart.SetSourceData Source:=Sheets(\"Sheet1\").Range(\"A1:E5\"), PlotBy:= _xlRowsActiveChart.Location Where:=xlLocationAsObject, Name:=\"Sheet1\"Windows(\"Book1\").SmallScroll Down:=-9ActiveWindow.Visible = False

关键词:java源码文件解析

copyright © 2016 powered by 皮皮网   sitemap