I have a macro that I wrote using the Developer in Excel (I would have no idea how to write one from scratch). The macro selects various stats from an imported box score and places those stats into cells within the worksheet. The cells the macro places the stats into is D7 thru AX7, and this worked great for week # 1. However I am now into week # 2 and need to place all the stats into cells D8 thru AX8 (the next row). I tried going into Developer and change all the D7 thru AX7 sections to D8 thru AX8 via the editor, but that didn't work.
My question is do I need to write a new macro each week or is there a way to edit the current macro whereby it will start on a different row?
Here is a small sample of the macro:
ActiveCell.FormulaR1C1 = "=R[44]C[123]"
Range("E7").Select
ActiveCell.FormulaR1C1 = "=R[43]C[122]"
Range("F7").Select
ActiveCell.FormulaR1C1 = "=R[46]C[121]"
Range("G7").Select
ActiveCell.FormulaR1C1 = "=R[50]C[121]"
Range("H7").Select
ActiveCell.FormulaR1C1 = "=R[50]C[119]"
Range("I7").Select
ActiveCell.FormulaR1C1 = "=R[49]C[118]"
Range("J7").Select
ActiveCell.FormulaR1C1 = "=R[53]C[117]"
Range("K7").Select
Thank you,
Tim
My question is do I need to write a new macro each week or is there a way to edit the current macro whereby it will start on a different row?
Here is a small sample of the macro:
ActiveCell.FormulaR1C1 = "=R[44]C[123]"
Range("E7").Select
ActiveCell.FormulaR1C1 = "=R[43]C[122]"
Range("F7").Select
ActiveCell.FormulaR1C1 = "=R[46]C[121]"
Range("G7").Select
ActiveCell.FormulaR1C1 = "=R[50]C[121]"
Range("H7").Select
ActiveCell.FormulaR1C1 = "=R[50]C[119]"
Range("I7").Select
ActiveCell.FormulaR1C1 = "=R[49]C[118]"
Range("J7").Select
ActiveCell.FormulaR1C1 = "=R[53]C[117]"
Range("K7").Select
Thank you,
Tim