This question was answered by Harlan Grove as follows:
<< ..it's not easy. For negative values, you can set the text color to red (4th tab in the Properties for Range dialog), but anything more requires CellContentsChange and CellValueChange event handlers written in LotusScript.
Example: show a red background if A:A1 is negative. In the LotusScript object for the range A:A1, enter these procedures.
Sub Cellcontentschange(Source As Range)
Call CellValueHandler(Source)
End Sub
Sub Cellvaluechange(Source As Range)
Call CellValueHandler(Source)
End Sub
Private Sub CellValueHandler(s As Range)
If Val(s.CellValue) < 0 Then
s.Background.BackColor.ColorName = "red"
Else
s.Background.BackColor.ColorName = "white"
End If
End Sub
To see the original discussion, click on this thread
http://www.lotus.com/rw/maindisc.nsf/afa95902ee99687505256887005c9368/2ff2e1b546e23cc3852569ea005d236b?OpenDocument
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.