Hi,
I am using a VB code in excel, and I want to use the value of a named cell in my If...Then...Else code. I can't figure out what I should use to code it.
My cell is name "Test" and my code looks like this:
If cell name "Test" = Red Then
.....
Elseif cell name "Test" = Blue Then
.....
Else
.....
End if
Thanks
Frank
I am using a VB code in excel, and I want to use the value of a named cell in my If...Then...Else code. I can't figure out what I should use to code it.
My cell is name "Test" and my code looks like this:
If cell name "Test" = Red Then
.....
Elseif cell name "Test" = Blue Then
.....
Else
.....
End if
Thanks
Frank