| 发表于:2007-06-22 09:30:402楼 得分:5 |
clear_zero(clear_zero) 说的对,你要指定当前单元格,比如: dim i as integer,j as integer for i=1 to fg.rows-1 for j=1 to fg.cols-1 if i+j> 10 then fg.row=i fg.col=j fg.cellforecolor=vbred end if next j next i cellforecolor属性是设置返回当前单元格的颜色 | | |
|