Formula address from column and row numbers in SmartXLS (java)

浪尽此生 提交于 2019-12-11 11:24:38

问题


How can I get the formula address of a cell knowing the column and the row numbers? I want to use it to link a dynamic data source to a chart. THX


回答1:


You can use the formatRCNr method:

String rangestr = workBook.formatRCNr(0, 0, false) + ":" + workBook.formatRCNr(2, 2, false); //A1:C2



来源:https://stackoverflow.com/questions/16567698/formula-address-from-column-and-row-numbers-in-smartxls-java

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!