the line that gets the computername will return the computer name in
all caps. The test you are using uses lower case letters in the
computername. If you change the case of the string in the Case
statement, or use the UCASE function, it should work just fine.