This article lists four prerequisites. They are listed right before the code block.
You probably forgot to follow step two, Adding a link to the Outlook object library .
The only difference is that in VBA the menu item is under Tools , not Project .
GSerg source share