View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Mike H Mike H is offline
external usenet poster
 
Posts: 11,501
Default Logical statement: equivalent of an IN function?

You don't provide too much help in your example but have a look at InStr in
VB help

Mike

"The Dude" wrote:

Hello everyone!

Please, would you know if there is an IN function under Excel (or access) so
that I can compare values without repeating the same equation?

Unless it exists, I am compelled to write expressions like:

If strTemp like * or strTemp like * or strTemp like * or... Then

isnt'it ?

Thanks ;)