Hi JE,
I was responding to a comment that I mistakenly attributed to Frank
('That might be a good reason to systematically avoid the "cells
object".)' Actually, the quote is from Alan's response to Frank.
Note, though, that neither are you abandoning the Cells property; just
using it once (with a Resize) rather than twice.
Somebody at some point posted an ad hoc analysis of how long it took to
reference a cell using each of six or seven different methods. But,
since I don't usually worry about computer speed, I couldn't give you a
reference without some amount of digging.
--
Regards,
Tushar Mehta
www.tushar-mehta.com
Excel, PowerPoint, and VBA add-ins, tutorials
Custom MS Office productivity solutions
In article ,
says...
Only reason I can think of is that
Set aRng = Worksheets(2).Cells(1, 1).Resize(n, 1)
is faster than the additional reference resolution in
With Worksheets(2)
Set aRng = .Range(.Cells(1, 1), .Cells(n, 1))
End With
In article <MPG.1b1bb58da25e61729897ed@news-server,
Tushar Mehta wrote:
No reason to abandon the Cells property.