View Single Post
  #7   Report Post  
Posted to microsoft.public.excel.programming
Cora Cora is offline
external usenet poster
 
Posts: 3
Default How to use SUMPRODUCT in macro?

"Bob Phillips" wrote in
:

Odd.

Can you try this for me?

ActiveCell.Formula = "=SOMMEPROD((C1:C10 = 1)*(D1:D10 = ""Ya""))"




Hello,

I've already try this formula. The result appear only when I edit cell with
F2 and Enter (I refer cells in an another workbook who is open in the same
macro).

When I use FormulaR1C1Local the result appear immediately.

bye