簡單來說 ..
IF A(成交價)>B(昨收價) then
range("xx").select '(儲存格選取)
With Selection.Interior
.Pattern = xlSolid
.PatternColorIndex = xlAutomatic
.Color = 255
.TintAndShade = 0
.PatternTintAndShade = 0
End With
endif
IF A(成交價)>B(昨收價) then
range("xx").select '(儲存格選取)