0
Good afternoon,
I want to multiply the value of the fourth cell on the left by the line number but there is an error when using Worksheetfunction.Row(RC[-4]) someone can help??
Range("H2").Select
ActiveCell.FormulaR1C1 = "=RC[-4]* WorksheetFunction.Row(RC[-4])"
Range("H2").Select
Selection.AutoFill Destination:=Range("H2", "H" & linha)
Range("H2", "H" & linha).Select