targetinvocation

  1. G

    Target Invocation Exception with Excel NewSeries

    Using Excel 2007 and Visual Studio 2003 This function throws a target invocation exception Private Function ExcelNewSeries(ByVal sercol As Excel.SeriesCollection) As Excel.Series Dim series As Excel.Series series = CType(sercol, Object).GetType.InvokeMember("NewSeries"...
Back
Top