S
Syed Zeeshan Haider
Hello Experts,
I have Excel 97 Pro on Win98SE.
I have copied a function from http://www.cpearson.com/excel/colors.htm,
which contains following code as its part:
If OfText = True Then
CountByColor = CountByColor - _
(Rng.Font.ColorIndex = WhatColorIndex)
Else
CountByColor = CountByColor - _
(Rng.Interior.ColorIndex = WhatColorIndex)
End If
Now I cannot understand subtracting an equality as in:
CountByColor - _
(Rng.Font.ColorIndex = WhatColorIndex)
Does this mean "subtract if equal"?
Or does it have some other explanation?
Thank you,
I have Excel 97 Pro on Win98SE.
I have copied a function from http://www.cpearson.com/excel/colors.htm,
which contains following code as its part:
If OfText = True Then
CountByColor = CountByColor - _
(Rng.Font.ColorIndex = WhatColorIndex)
Else
CountByColor = CountByColor - _
(Rng.Interior.ColorIndex = WhatColorIndex)
End If
Now I cannot understand subtracting an equality as in:
CountByColor - _
(Rng.Font.ColorIndex = WhatColorIndex)
Does this mean "subtract if equal"?
Or does it have some other explanation?
Thank you,