Arthur Fuller
fuller.artful at gmail.com
Wed Mar 18 10:22:28 CDT 2009
It is actually the wrong way to do it. With one or two controls, it doesn't matter, but if you have a bunch, or a bunch of statements all referring to various controls and/or methods, you should write it like this: <code> With Me .ControlName = 123 .ControlName.Enabled = True End With These statements contain implicit references to Me. The advantage to this approach is that a single reference to Me is set up once, rather than pointing to Me over and over. Arthur On Wed, Mar 18, 2009 at 11:01 AM, Dan Waters <dwaters at usinternet.com> wrote: > Sometimes I see code written where each control is prefixed with Me., and > sometimes not. I don't use Me in this way, but I wonder if there is a > reason to do so other than just being explicit. Does using Me work better > behind the scenes in some way? > > Thanks! > Dan > >