Forguncy.CommandBase.getCellLocation(formula)
将一个公式转换成单元格位置信息。
参数
参数 | 类型 | 说明 |
---|---|---|
formula | string | 单元格公式,如“=A1”。 |
返回值
CellLocationInfo,单元格的位置信息。如果公式不表示单元格,如“=SUM(1,2)”,该方法将返回null。
将一个公式转换成单元格位置信息。
参数 | 类型 | 说明 |
---|---|---|
formula | string | 单元格公式,如“=A1”。 |
CellLocationInfo,单元格的位置信息。如果公式不表示单元格,如“=SUM(1,2)”,该方法将返回null。