E
Eddie Stevens
How can I reference a cell using a variable?
Example:
Sub Help()
For x = 3 To 7
For y = 5 To 9
Range(x, y).Select 'THIS LINE DOES NOT WORK. WHAT IS THE
PROPER SYNTAX?
ActiveCell.FormulaR1C1 = x + y
Next y
Next x
End Sub
Example:
Sub Help()
For x = 3 To 7
For y = 5 To 9
Range(x, y).Select 'THIS LINE DOES NOT WORK. WHAT IS THE
PROPER SYNTAX?
ActiveCell.FormulaR1C1 = x + y
Next y
Next x
End Sub