wjj_123 你好,
我不是很明确楼主的意思,是要两列中两个单元格的乘积吗?请参考以下代码:
- this.FpSpread1.Sheets[0].Cells[0, 0].Value = 10;
- this.FpSpread1.Sheets[0].Cells[0, 1].Value = 10;
- this.FpSpread1.ClientAutoCalculation = true;
- this.FpSpread1.Sheets[0].Cells[0, 2].Formula = "PRODUCT(A1:B1)";
复制代码 |