Re: Worksheet_Calculate with no effect
- From: "Bill Renaud" <Bill.No.Spam.Renaud@xxxxxxxxxxx>
- Date: Mon, 22 Oct 2007 13:03:28 -0500
Also, look carefully at your list of If statements. You have a second If
statement right after the first one, which ignores all of the previous
logic. For example:
If rang >= -1 And rang < -0.6 Then
rang.Font.ColorIndex = 2
ElseIf rang >= -0.6 And rang < 0.6 Then
rang.Font.ColorIndex = 1
ElseIf rang >= 0.6 And rang < 1 Then
rang.Font.ColorIndex = 2
End If
....resets the ColorIndex to 2 if the cell has a value between 0.6 and 1,
even though it was set to 46 or 53 in the long If statement above.
--
Regards,
Bill Renaud
.
- Follow-Ups:
- Re: Worksheet_Calculate with no effect
- From: God Itself
- Re: Worksheet_Calculate with no effect
- References:
- Worksheet_Calculate with no effect
- From: God Itself
- Worksheet_Calculate with no effect
- Prev by Date: Re: Worksheet_Calculate with no effect
- Next by Date: Re: Add Data Scaling in same chart
- Previous by thread: Re: Worksheet_Calculate with no effect
- Next by thread: Re: Worksheet_Calculate with no effect
- Index(es):