drafts folder hidden outlook 2003

Posted by Michael on Stack Overflow See other posts from Stack Overflow or by Michael
Published on 2010-06-17T08:53:52Z Indexed on 2010/06/17 9:03 UTC
Read the original article Hit count: 449

Filed under:
|
|
|

Let's say I have managed to hide the draftsfolder in outlook2003. I am wondering how I would be able to retreive it back without the use of 3rd party programs. (for instance as described in this article).

I have the following code in outlook 2007.

Sub changeProperty()
    Dim ns As Outlook.NameSpace
    Dim drafts As Outlook.folder
    Dim property As Variant
    property = False

    Set ns = Outlook.GetNamespace("MAPI")
    Set drafts = ns.GetDefaultFolder(olFolderDrafts)

    drafts.PropertyAccessor.SetProperty "http://schemas.microsoft.com/mapi/proptag/0x10F4000B", property
End Sub

Is there any way to perform this in outlook 2003?

(Also thinking if this should be put on superuser.com instead?)

© Stack Overflow or respective owner

Related posts about vba

Related posts about property