回复 1楼mamazi的帖子
当前修改单元格坐标可以通过以下方法实现:
- protected void Button1_Click(object sender, EventArgs e)
- {
- int col = this.FpSpread1.Sheets[0].ActiveColumn;
- int row = this.FpSpread1.Sheets[0].ActiveRow;
- this.FpSpread1.Sheets[0].Cells[row, col].ForeColor = System.Drawing.Color.Red;
- }
复制代码 |