ty for the fast awnser, still dont work get the same com exception.
Maybe I explained bad what i want to do.
I need the aquivalent to this vba "formula" Range("D56,F57,D61,C59,C54,D53,H54")
that is what i do in code
using Excel = NetOffice.ExcelApi;
Excel.Worksheet sheet;
This Exception i get: HRESULT: 0x800A03EC"
I use the new version of Netoffice
regards
Maybe I explained bad what i want to do.
I need the aquivalent to this vba "formula" Range("D56,F57,D61,C59,C54,D53,H54")
that is what i do in code
Excel.Range r = dataToBeWritten.Sheet.Range(dataToBeWritten.RangeString);Sheet have the type: Excel.Worksheet
using Excel = NetOffice.ExcelApi;
Excel.Worksheet sheet;
This Exception i get: HRESULT: 0x800A03EC"
I use the new version of Netoffice
regards