On 17 Nov, 14:33, "Bob Barrows [MVP]" <reb01...@NOyahoo.SPAMcom>
wrote:
> J-P-W wrote:
> > Hi,
>
> > I want to evaluate 2 things, "Area" and "SubsQuestions"
>
> > I need to know if Area = "Six" or Area = "Seven" AND SubsQuestions =
> > "Yes"
>
> > Is it
>
> > ...... If Area = "Six" or Area = "Seven" AND SubsQuestions = "Yes"
> > Then
>
> > or
>
> > ...... If Area = "Six" AND SubsQuestions = "Yes" or Area = "Seven" AND
> > SubsQuestions = "Yes" Then
>
> Simple grouping
>
> If Area = "Six" or (Area = "Seven" AND SubsQuestions ="Yes") then
>
> --
> Microsoft MVP - ASP/ASP.NET
> Please reply to the newsgroup. This email account is my spam trap so I
> don't check it very often. If you must reply off-line, then remove the
> "NO SPAM"- Hide quoted text -
>
> - Show quoted text -
Thanks.
So I can have:
If Area = ("Six" AND SubsQuestions = "Yes") or (Area = "Seven" AND
SubsQuestions = "Yes") Then
'Do stuff
Else
'Do not
End If
Cool