Function: EnableMenuItem
Version 2.0+

Public Function EnableMenuItem() As Boolean

EnableMenuItem is called every time the Plugins menu is opened. If you return False to this function, the menu item for your plug-in will be disabled. If you return True, it will be enabled.