eğer persist asp upload kullanıyorsanız ,excel için
if instr(File.ContentType,"excel")>0 or instr(File.ContentType,"sheet")>0 then
....
...
end if
şeklinde yapmanız yeterli sanırım