georges de sousa Posted February 25, 2021 Share Posted February 25, 2021 Statistica 13.5 My question , After running my workspace, i obtain a spreasheet, i want to color the value depending some condition for exemple if value inV2>V3 then value in V5 will be in red and if V2 Link to comment Share on other sites More sharing options...
Jeremy Melville Posted May 18, 2021 Share Posted May 18, 2021 Hi, You can write an SVB function that does something similar to this. This code states that if the value of cell 6 row 5 is greater than cell 7 row 5 then set cell 8 row 5 to an RGB value. Sub Main Dim S1 As Spreadsheet Set S1 = ActiveDataSet If S1.Range("C6R5:C6R5").Value > S1.Range("C7R5:C7R5").Value Then S1.Range("C8R5:C8R5").StaFont.Background = RGB(192,255,255) End If End With End Sub Link to comment Share on other sites More sharing options...
georges de sousa Posted May 28, 2021 Author Share Posted May 28, 2021 Thank's very much Kinds Regards Georges Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now