Thread: "If" VB Syntaxe
View Single Post
  #3   Report Post  
Posted to microsoft.public.excel.programming
Bob Phillips[_6_] Bob Phillips[_6_] is offline
external usenet poster
 
Posts: 11,272
Default "If" VB Syntaxe

If A = B And C=D Then
...
--

HTH

Bob Phillips
... looking out across Poole Harbour to the Purbecks
(remove nothere from the email address if mailing direct)

"Marie Lavoie" wrote in message
...
I should have an answer in 5 sec maximum I guess... But can't find it!!
How do I give 2 conditions (or more) to a If?

If condition1 and condition2 then
If (condition1 and condition2) then

If condition1 and if condition2 then

. ???



Thank you.

Marie