have some cell on Sheet Licente with value FREE AND PAID ON COLUMN C , I WANT WHEN I…
Jump to turn (10)
- 1have some cell on Sheet Licente with value FREE AND PAID ON COLUMN C , I WANT WH
- 2CREATE AN VBA CODE
- 3Sub ColorRowsBasedOnCriteriaAndWhiteEmpty() Dim ws As Worksheet Dim lastRow As L
- 4cell from all row and columns that contain nothing muste be white
- 5Sub ColorRowsBasedOnCriteriaAndWhiteEmpty() Dim ws As Worksheet Dim lastRow As L
- 6Sub ColorRowsBasedOnCriteriaAndWhiteEmpty() Dim ws As Worksheet Dim lastRow As L
- 7cells that does not contain anything are still colored in green and yellow , i w
- 8still nothing
- 9If ws.Cells(i, "C").Value = "FREE" And InStr(1, ws.Rows(i).Value, "X") > 0 Then
- 10If ws.Cells(i, "C").Value = "FREE" And InStr(1, .Value, "X") > 0 Then mismatch e
- User
have some cell on Sheet Licente with value FREE AND PAID ON COLUMN C , I WANT WHEN I SORT CELLS WITH VALUE FREE TO COLOR ALL RAW THAT CONTAIN AN X MARK INSIDE WITH GREEN , AND FOR VALUE PAID WITH YELLOW ,ALL ANOTHER CELLS TO BE WHITE (CELLS WITH NOTHING INSIDE)
- Assistant
To achieve this, you can use conditional formatting in Excel. Here are the steps to follow: