C
Craig Brandt
Hi.
This is a curiosity question.
What is the advantage of using the With/EndWith statement. I see it in many
of the examples, but it seems to add lines of code and a level of complexity
to in many cases, a simple problem. Example:
With Sheets("Control")
Testdata = .Range("D4")
End With
Seems overly complex when the following will do.
Testdata = Sheets("Control").Range("D4")
In fear of miss-out on something really cool, I am awaiting the words of
wisdom.
Thanks,
Craig
This is a curiosity question.
What is the advantage of using the With/EndWith statement. I see it in many
of the examples, but it seems to add lines of code and a level of complexity
to in many cases, a simple problem. Example:
With Sheets("Control")
Testdata = .Range("D4")
End With
Seems overly complex when the following will do.
Testdata = Sheets("Control").Range("D4")
In fear of miss-out on something really cool, I am awaiting the words of
wisdom.
Thanks,
Craig