WaterSprite
Technical User
[Select Case aa13]
[Case vbYes]
[Cells(11, 2) = aa12 & aa36]
[Case vbNo]
[Cells(11, 2) = aa12 & ":No:" & aa38]
[End Select]
This code works just fine, it is from the help I received from a lot of you in the last couple of weeks, my Select Case question from 20 September 2010.
Now, for my next problem, or maybe wishful thinking.
aa12 = "Horn sounds?"
aa36 = "Yes"
I want aa36 to turn green if Select Case aa13 is VByes. If the "Yes" that is assigned to aa36 came from a cell, no problem. But, I just assigned it in the macro, and I cannot figure out how to format a variable.
[Case vbYes]
[Cells(11, 2) = aa12 & aa36]
[Case vbNo]
[Cells(11, 2) = aa12 & ":No:" & aa38]
[End Select]
This code works just fine, it is from the help I received from a lot of you in the last couple of weeks, my Select Case question from 20 September 2010.
Now, for my next problem, or maybe wishful thinking.
aa12 = "Horn sounds?"
aa36 = "Yes"
I want aa36 to turn green if Select Case aa13 is VByes. If the "Yes" that is assigned to aa36 came from a cell, no problem. But, I just assigned it in the macro, and I cannot figure out how to format a variable.