D
dmoncayo
Hello all.
Whenever I write vba code in the context of a document, I can use the
"Me" keyword to refer to the Document object in which I am.
However, I've noticed that, in the Document_New method, "Me" sometimes
refers to the document template, and other times it refers to the new
document that is being created (put a breakpoint and check the value
of "Me.FullName").
Does anyone know what is the rule that explain this behavior?
Whenever I write vba code in the context of a document, I can use the
"Me" keyword to refer to the Document object in which I am.
However, I've noticed that, in the Document_New method, "Me" sometimes
refers to the document template, and other times it refers to the new
document that is being created (put a breakpoint and check the value
of "Me.FullName").
Does anyone know what is the rule that explain this behavior?