View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
JE McGimpsey JE McGimpsey is offline
external usenet poster
 
Posts: 4,624
Default Custom Function If..Else and reading text strings

Not strictly necessary, since any non-zero result of InStr will be
interpreted as True, and any zero result as False. But it certainly
doesn't hurt.

In article .com,
"Dan" wrote:

I added the comparison " 0" to the if staement and it works.