View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Matthew Dyer Matthew Dyer is offline
external usenet poster
 
Posts: 178
Default select case help

in this case my case is a string (see what I did there???)

I want to test if case contains substrings but am coming up blank.

logic im trying to follow

case contains "**No PDF**"
'do stuff
case contains "**No Final Package**"
'do different stuff
else
'do other different stuff


I've done this with nested if/elseif/else statements, but I'm looking for something a little more 'elegant'? make sense? call me a coding snob... Haha. just trying to learn new stuff.