Sub Divisions() Columns("F:F").Select Selection.Clear Range("F11").Select ActiveCell.FormulaR1C1 = "data" Range("f12").

Select ActiveCell.Formula = "=start-spacing" Range("f13").Select Dim i As Integer Dim intDivisions As Integer intDivisions = Range("divisions").Value + 1 For i = 1 To intDivisions ActiveCell = "=ROUND(R[-1]C+spacing,3)" ActiveCell.Offset(1, 0).Select Next i Range("g11").Select ActiveCell.Formula = "=start-spacing" Range("h11").Select Dim i2 As Integer intDivisions = Range("divisions").Value + 1 For i2 = 1 To intDivisions ActiveCell = "=ROUND(RC[-1]+spacing,3)" ActiveCell.Offset(0, 1).Select Next i2 Range("f12").Select End Sub Sub Clear() Range("f11:XFD256").Select Selection.Clear End Sub Sub Selectionss() Range("F11").Select Range(Selection, Selection.End(xlDown)).Select Range(Selection, Selection.End(xlToRight)).Select End Sub Sub Macro21() Range("g12").Select ActiveCell.FormulaR1C1 = "=RC6*2+3*R11C" Range("G12").Select Selection.AutoFill Destination:=Range("G12:XFD12"), Type:=xlFillDefault Range("G12:XFD12").Select Selection.AutoFill Destination:=Range("G12:XFD256"), Type:=xlFillDefault Range("G12").Select End Sub

Sign up to vote on this title
UsefulNot useful