Me Object

Syntax:

Me

Group: Object

Description:
Me references the current macro/module. It can be used like any other object variable, except that its reference can't be changed.

See Also: Set.

Example:

Sub Main
  DoIt
  Me.DoIt ' calls the same sub
End
Sub

Sub DoIt
  MsgBox "Hello"
End
Sub