摘要: 设置背景色public void SetRangeBackground(int sRow,int sCol,int eRow,int eCol,int colorIndex){range=objSheet.get_Range(objSheet.Cells[sRow,sCol],objSheet.Cells[eRow,eCol]);range.Interior.ColorIndex=colorIndex;}设置边框public void SetBorderLine(int sRow,int sCol,int eRow,int eCol){range=objSheet.get_Range(objS 阅读全文
posted @ 2011-08-09 05:57 stone 阅读(959) 评论(0) 推荐(0) 编辑