Quantcast
Channel: NetOffice - MS Office in .NET
Viewing all articles
Browse latest Browse all 1741

New Post: Multiple Ranges

$
0
0
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
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

Viewing all articles
Browse latest Browse all 1741

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>