发布网友
共1个回答
热心网友
private
sub
worksheet_selectionchange(byval
target
as
range)
cells.interior.colorindex
=
xlnone
target.interior.colorindex
=
4
end
sub
试试看吧!单元格颜色设置为了绿色,可以根据自己的喜好更改数值(4)