Hi Guys!

First, I am using VS 2012.

I have a number m and p(n) array.

How to say;
Code:
rng= Lbound(p) to Ubound(p)

For Each val in rng
If Not m Mod val = 0 Then
'Do something
End If
???

Basicly I want to be sure m is not divisible with none of the p() array values.

Thanks a lot!