View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
BerkshireGuy[_2_] BerkshireGuy[_2_] is offline
external usenet poster
 
Posts: 21
Default Formula For Each Row

Hmmm,

I tried this and it seemed to work:

Dim TotalRows As Integer, Row As Integer

TotalRows = ActiveSheet.UsedRange.Rows.Count


With objSht
For Row = 1 To TotalRows Step 1

Cells(Row, "U").Formula = "=477 * Q" & Row & ""
Next Row
End With