Leave the line : Const myRangeAddr As String = "B:B" unchanged, since it
specifies the area (column B) upon which Excel should monitor changes.
Within the Select Case block, you should add a paragraph specifying what to
do when B column's value lays between '0.5 and 2:
Case -0.5 To 2
oCell.Interior.ColorIndex = xx
oCell.Font.Bold = True
oCell.Borders.ColorIndex = 1
HTH
--
AP
"abcd1234" a écrit
dans le message de
...
Here is a copy (sample) of my Excel spreadsheet:
http://cjoint.com/data/dmoBcfe6Rx.htm
Ardus Petus Wrote:
Are your data in columns A and B?
Did you change the constant in:
Const myRangeAddr As String = "B:B"
The offending line should not produce an error.
You can transmit your worksheet via following link (in french):
http://cjoint.com/
--
abcd1234
------------------------------------------------------------------------
abcd1234's Profile:
http://www.excelforum.com/member.php...o&userid=32376
View this thread: http://www.excelforum.com/showthread...hreadid=521381