I often see code like:
If Not someThing = Nothing Then Set someThing = Nothing
And I also see comments that explicitly setting an object to Nothing is not absolutely necessary as the VBA garbage collector will do it anyway (especially true for locally declared objects, but apparently less so in some situations using MS Access).
But, notwithstanding the temptation to save a line of code and let the garbage collector do its thing...
Is there a reason for testing if someThing is Nothing before setting it to Nothing - does it make any difference whatsoever? I don't think it helps readability...
Why not just say: Set someThing = Nothing
and be done with it?