Like should work okay.
To the OP, what do you mean by ambiguous results? I note you are not testing
whether they have used the SaveAs or Save.
--
HTH
Bob Phillips
(replace somewhere in email address with gmail if mailing direct)
"Kaak" wrote in message
...
If Not Instr(UCase(filename), "AIR CONTAINER") Then
--
Kaak
------------------------------------------------------------------------
Kaak's Profile:
http://www.excelforum.com/member.php...fo&userid=7513
View this thread: http://www.excelforum.com/showthread...hreadid=557189