摘要:
Excel模版,自己設定好分析餅圖,如何動態地更新分析圖的數據源呢?代碼好下:'注:l_xlsWS是空義的WorkSheet Dim l_objChartPercent As Excel.ChartObject Set l_objChartPercent = l_xlsWS.ChartObjects("Chart 2") Call l_objChartPercent.Chart.SetSourceData(Source:=l_xlsWS.Range("A7,A8,D7,D8"), PlotBy:=xlColumns) If Not l_objChartPercent Is Nothing Th 阅读全文
posted @ 2010-12-07 23:46 ☆Keep★Moving☆ 阅读(530) 评论(0) 推荐(0) 编辑