How to fix this warning, pls?
Type library exporter could not find the type library for 'Microsoft.Office.Interop.Excel.Range'. IUnknown was substituted for the interface.
The signature of the function is
public object[,] FUNCTION_XXX(Excel.Range range01, Excel.Range range02)
where
using Excel = Microsoft.Office.Interop.Excel;
The function definition cannot accept Excel.Range but rather only object.
Thus replacement of the signature with
and then
casting these to
Excel.Rangesolves the problem.