View Single Post
  #4   Report Post  
Posted to microsoft.public.excel.programming
James[_24_] James[_24_] is offline
external usenet poster
 
Posts: 7
Default range value with variable not working?


"Tom Ogilvy" wrote in message
...
Change Range to Cells

Sheets("ReportOutput").Range("F4").Copy
For i = 1 To NumRows
Sheets("ReportOutput").Cells((i + 3), 6).PasteSpecial xlPasteFormulas
Next i


Thanks,
I then get error 1004, PasteSpecial of Range class failed.


I think becuase the pastespecial method can only be applied to a range?