View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Sh0t2bts Sh0t2bts is offline
external usenet poster
 
Posts: 16
Default If Then else using an Array

Hi All,

I have an array with 29 names held in it, I am wanting to do a if
statement using the content of the Array.

If "MyName" is in ArrayName() Then
Do somthing
else
Do somthing else
End If

I don't know how to go about setting it out.

Can anyone advise?

Many Thanks

Mark