In over my head...help. I need to create code to change the font color in A4 to white when a user scrolls down to row 15. This is my failed attempt:
Moderator's note: Please take the time to review our rules. There aren't many, and they are all important. Rule #2 requires code tags. I have added them for you (and indentation) this time because you are a new member. --6StringJazzer![]()
Sub ChangeFontColor() If ActiveSheet.Name = "Test" Then If ActiveWindow.VisibleRange.Rows(15) Then Range("A4").Font.Color = RGB(255, 255, 255) End If End If End Sub
Or is there a conditional formatting formula I could use instead?
Spreadsheet attached.... sample.xlsm
Bookmarks