Forums

This topic is locked

"OR" CODING

Posted 06 Apr 2004 12:51:05
1
has voted
06 Apr 2004 12:51:05 A B posted:
I have in my search engine code

If UCase(Right(objFile.Name,4)) = ".XLS" then...

i want it to say sumthing like

If UCase(Right(objFile.Name,4)) = ".XLS" OR ".DOC" then...

but this does not work? any ideas?

Thanks!

Replies

Replied 07 Apr 2004 03:04:59
07 Apr 2004 03:04:59 Phil Shevlin replied:
If UCase(Right(objFile.Name,4)) = ".XLS" OR UCase(Right(objFile.Name,4)) = ".DOC" then

Reply to this topic