View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Steven Rosenberg[_2_] Steven Rosenberg[_2_] is offline
external usenet poster
 
Posts: 5
Default Synax for two IF conditions in VBA

The expression
=if(D2=D1,C1,"")

fills in the contents of cell C2, with the value if C1.
WHAT is the syntax in VBA for filling-in C2 with C1's
value IF D2-D1, AND E2=E1?

Thanks!

Steven Rosenberg

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!