--------------------------------------------------Sub Macro1

()
'
' Macro1 Macro
For i = 1 To 7
Range("B" & i).Select
ActiveCell.FormulaR1C1 = "=LOG(RC[-1])"
Next i
End Sub
-------------------------------------------------Sub Macro1()
'
' Macro1 Macro
For i = 1 To 7
Range("B" & i).Select
ActiveCell.FormulaR1C1 = "=LOG(RC[-1])"
Range("C" & i).Select
ActiveCell.Value = i
Next i
End Sub
--------------------------------------------------

Sign up to vote on this title
UsefulNot useful