Sometimes when you change things, variables stay red. You have to modify that line of code to make the red go away. It has to do with modifying a variable in 1 location that the other locations don't update. or sometimes when you change a viable (say in a dim statement), in the middle of a line, it changes red and stays red until you modify it.
I'm sure this has been mention as it's a common bug.
=============================================================
I wrote this line of code without a dim
it turned red
I added the dim
it stayed red
I had to add a space at the end (modify it) before it would not be red.