ScriptHam
04-27-2005, 06:46 AM
:hi: Hi :hi:
In order to refer to my inbox I use
Dim ns As NameSpace
Dim ib As MAPIFolder
Set ns = ThisOutlookSession.Session
Set ib = ns.GetDefaultFolder("olFolderInbox")
In my case Inbox is a subfolder of "Mailbox - FirstName LastName"
As are Outbox, SentItems, Drafts and others which I have created e.g.
1P396, 4P446, BREC-General. These last are specific project files.
I would like to refer to these folders but
Set ib = ns.GetDefaultFolder("olFolderMailbox - Stewart Porteous")
Does not work
Do I have to move my project files into Inbox or is there a way of referring to them?
Help please.
ScriptHam
In order to refer to my inbox I use
Dim ns As NameSpace
Dim ib As MAPIFolder
Set ns = ThisOutlookSession.Session
Set ib = ns.GetDefaultFolder("olFolderInbox")
In my case Inbox is a subfolder of "Mailbox - FirstName LastName"
As are Outbox, SentItems, Drafts and others which I have created e.g.
1P396, 4P446, BREC-General. These last are specific project files.
I would like to refer to these folders but
Set ib = ns.GetDefaultFolder("olFolderMailbox - Stewart Porteous")
Does not work
Do I have to move my project files into Inbox or is there a way of referring to them?
Help please.
ScriptHam