tiredofit
Well-known Member
- Joined
- Apr 11, 2013
- Messages
- 1,832
- Office Version
- 365
- 2019
- Platform
- Windows
Which is faster?
or
I'm inclined to think the former is faster but tested it and saw no difference.
Thanks
Code:
With Sheet1
For counter = 1 To 100000
.Cells(counter, 1).Value = counter
Next counter
End With
or
Code:
For counter = 1 To 100000
With Sheet1
.Cells(counter, 1).Value = counter
End With
Next counter
I'm inclined to think the former is faster but tested it and saw no difference.
Thanks
Last edited: