C#/WPF: Defining an EXCEL range through row and column number -


i have tried this

how excel range using row , column numbers in vsto / c#?

but throw undefined com exception

what (pseudocode)

range myrange = new range(new cell(1,1), cell(3,3)); 

so can use (pseudocode again)

ws.myrange.interior.color = xlrgbcolor.rgbdarkgray; 

thank you

please check out:

range range1 = ws.range[ws.cells[1, j], ws.cells[1, j+1]]; 

here, range :

microsoft.office.interop.excel.range 

Comments

Popular posts from this blog

javascript - jQuery: Add class depending on URL in the best way -

caching - How to check if a url path exists in the service worker cache -

Redirect to a HTTPS version using .htaccess -