MichaelRose94
New Member
- Joined
- Feb 15, 2018
- Messages
- 5
Hi I am trying to place in column A, a list of numbers from 1, 2, 3, 4, etc.
At the moment, I am using the following VBA code. Could any one recommend a more efficient way? Thanks in advance
Range("A1").Select
ActiveCell.FormulaR1C1 = "1"
Range("A2").Select
ActiveCell.FormulaR1C1 = "2"
Range("A1:A2").Select
Selection.AutoFill Destination:=Range("A1:A1440")
Range("A1:A1440").Select
Range("D1").Select
At the moment, I am using the following VBA code. Could any one recommend a more efficient way? Thanks in advance
Range("A1").Select
ActiveCell.FormulaR1C1 = "1"
Range("A2").Select
ActiveCell.FormulaR1C1 = "2"
Range("A1:A2").Select
Selection.AutoFill Destination:=Range("A1:A1440")
Range("A1:A1440").Select
Range("D1").Select