View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Nde Nde is offline
external usenet poster
 
Posts: 16
Default Error 1004 - Application-defined or Object-defined error

Hi,

I do have a 1004 error using the following code. Any Sggestion...I use
similar code in an other macro and it works fine.

ActualToReport = "=SUMIF('Actuels Finance PUID'!C1,''" + ActiveCell.Value +
"'','Actuels Finance PUID'!C" + Trim(Str(ColumnCounter - 2)) + ")"

Worksheets("ReForecast - Detailed").Cells(CurrentRow, ColumnCounter).Formula
= ActualToReport

Thanks,
nde