1. Please edit your post to add code tags. If you don't know how, please consult the forum rules.
2. Your example is late binding: the object variable isn't set until run time. It's almost always preferable to use early binding, where the variable type is set at compile time. Among other things, it allows Intellisense to work, so that you can see the object methods and properties. The downside is that you need to set a reference to the object's library beforehand (Tools > References, (in this case) Microsoft Outlook xx.x Object Library).
Here's an example of early binding:
Bookmarks