Thread: OR in IF
View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
T2net T2net is offline
external usenet poster
 
Posts: 7
Default OR in IF

Do you know a way to include several conditions to one IFstep in VBA,
ie

If condition1 OR condition2 OR condition3 then action1
without using my current unelegant and heavy:

If condition1 then action1
If condition 2 then action1
If condition 3 then action1


I am sure the trick is easy..so easy that I cannot find it!

Thanks in advance for your help,

T2net