0
그래프/차트가있는 새로운 Excel 북을 만드는 프로그램을 작성하고 있습니다. 이 차트에는 여러 그래프 유형이있는 여러 계열 (숫자가 다를 수 있음)이 있지만 일련을 작성하는 for 루프를 사용하는 데 어려움을 겪고 있습니다. 내가 오류 얻을이 코드를 실행하려고하면for 루프를 사용하여 Excel의 차트 시리즈 만들기
Dim Dataseries As Excel.Series = CType(chartPage.SeriesCollection(), Excel.Series)
For index As Integer = 0 To GlobVars.filenameArr.Length
Dataseries(index).Name = GlobVars.filenameArr(index)
Next index
을 : 나는 당신을 생각
Excel.Series cannot be indexed because it has no default property