[問題] .Interop.Excel.Trendlines 用法

看板C_Sharp作者 (tony)時間10年前 (2013/10/17 23:43), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
查了很多相關 Microsoft.Office.Interop.Excel Excel.Series series = (Excel.Series)chartPage.SeriesCollection(1); //Setting the series to Secondary (y) axis so as to format the same series.AxisGroup = Excel.XlAxisGroup.xlSecondary; //Setting the trendline type Excel.Trendlines trendlines = (Excel.Trendlines)series.Trendlines(System.Type.Missing); issing); Excel.Trendline trendline = trendlines.Add(Microsoft.Office.Interop.Excel.XlTrendlineType.xlLinear, 2, 0, misValue, misValue, misValue, false, false, misValue); 查了很多相關Trendline的用法 都會跑出COMEXCEPTION 請問有人知道怎麼解決嗎? -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 106.1.242.102
文章代碼(AID): #1IO0MLNN (C_Sharp)