首页 > 解决方案 > FullSeriesCollection 上的参数无效

问题描述

嗨,我正在收回 Excel 插件项目的主导权。但是我遇到了一种奇怪的错误:

System.Runtime.InteropServices.COMException (0x800A03EC): Parameter not valid at Microsoft.Office.Interop.Excel._Chart.FullSeriesCollection(Object Index)

对应的行是:

chart.FullSeriesCollection(1).DataLabels.ShowValue = true;

知道那里有什么问题吗?

标签: c#.netexcel

解决方案


推荐阅读