开发者

C# and Microsoft Excel 9.0 Object Library (Excel 2000) getting a cell coordinate excel style

开发者 https://www.devze.com 2022-12-20 06:39 出处:网络
Is there a way with Excel 9.0 Object Library to get a cell coordinate (from a range or cell) \"Excel sty开发者_如何学Pythonle\" for example: A1 or C4 instead of [1,1] and [4,3]?Use the Address propert

Is there a way with Excel 9.0 Object Library to get a cell coordinate (from a range or cell) "Excel sty开发者_如何学Pythonle" for example: A1 or C4 instead of [1,1] and [4,3]?


Use the Address property.

string addr = range.get_Address(Type.Missing, Type.Missing, 
    Excel.XlReferenceStyle.xlA1, Type.Missing, Type.Missing);
0

精彩评论

暂无评论...
验证码 换一张
取 消