How much more efficient is it to use a With statement than to just refer to the object several times? Say, if you have three or four statements.
Printable View
How much more efficient is it to use a With statement than to just refer to the object several times? Say, if you have three or four statements.
It isn't, to my knowledge, it's just easier to read and deal with.
and a lost less typing.Code:With Bla Bal
.do this
.do that
.do nothing
End With
And (I think) it's slightly faster.
When its compiled The compiler treats them the same