Ponerle un bucle a este codigo
hola quisiera si alguien seria tan amable de ver si es posible un bucle a esta macro
de antemano gracias
sub bucle_copiar()
range("H12").select
activeCell.formulaR1C1 = "4"
range("I12").select
activeCell.formulaR1C1 = "5"
range("H13").select
range("B9").select
activesheet.paste
range("D9").select
application.cutCopyMode = False
activeCell.formulaR1C1 = "=sum(rc[-2]:rc[-1])"
range("D9").select
selection.Copy
range("J12").Select
activeSheet.Paste
range("H13").Select
application.CutCopyMode = False
activeCell.FormulaR1C1 = "4"
range("I13").Select
activeCell.FormulaR1C1 = "7"
range("H13:I13").Select
selection.Copy
range("B9:C9").Select
activeSheet.Paste
range("D9").Select
application.CutCopyMode = False
selection.Copy
range("J13").Select
activeSheet.Paste
range("H14").Select
application.CutCopyMode = False
activeCell.FormulaR1C1 = "3"
range("I14").Select
activeCell.FormulaR1C1 = "4"
range("H14:I14").Select
selection.copy
range("B9").Select
activeSheet.Paste
range("D9").Select
application.CutCopyMode = False
selection.Copy
range("J14").Select
activeSheet.Paste
range("H15").Select
application.CutCopyMode = False
activeCell.FormulaR1C1 = "2"
range("I15").Select
activeCell.FormulaR1C1 = "5"
range("H15:I15").Select
selection.Copy
range("B9").Select
activeSheet.Paste
range("D9").Select
application.CutCopyMode = False
selection.Copy
range("J15").Select
activeSheet.Paste
end sub