Code:
With Application.Worksheets("ClassroomSittingPlan")
For x = 1 To 3
''''''''''''''''''''''''''''''''''''
.Cells(x, 1).Formula = "=Sum(B"&x&":C"&x&")"
''''''''''''''''''''''''''''''''''''
Next x
End With
In the Sum formula, how can I use the for loop variable in the formula?