瀏覽單個文章
ccx1103
Regular Member
 

加入日期: Aug 2005
文章: 72
引用:
作者BAN1130
怎麼用呢?? 請指教

先找出底色代號
sub testcolor
MsgBox ActiveCell.Interior.ColorIndex
end sub

再改變顏色
sub changecolor
While ActiveCell.Value <> ""
If ActiveCell.Interior.ColorIndex = 38 Then
For i = 1 To 3
ActiveCell.Offset(0, i).Interior.ColorIndex = 8
Next
End If
ActiveCell.Offset(1, 0).Select
Wend
end sub
舊 2007-07-10, 07:52 AM #14
回應時引用此文章
ccx1103離線中