C#/WPF: Defining an EXCEL range through row and column number -
i have tried this
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
Post a Comment