Avatar of Mike Eghtebas
Mike Eghtebas
Flag for United States of America

asked on 

How can I find Outlook folder constants...



I have folder names in Outlook. To access each folder using code like:

                                   folder constants ---------v
Set obj_inbox = obj_ns.GetDefaultFolder(olFolderInbox)

I need the folder constants like olFolderInbox for "\\Mailbox - Eghtebas, Mike\Inbox".

How can I find these constants for each of the folders I have (like "\\Mailbox - Eghtebas, Mike\Sent Items", "\\Mailbox - Eghtebas, Mike\HR", etc.)?

Is it possible to use something like:

Set obj_inbox = obj_ns.GetDefaultFolder("\\Mailbox - Eghtebas, Mike\Inbox") instead of olFolderInbox?

Thank you.
Microsoft AccessOutlookVisual Basic Classic

Avatar of undefined
Last Comment
Mike Eghtebas

8/22/2022 - Mon