S
sparkle_guy
I have written the following code to count and then loop through the items
in my inbox
Set objOL = CreateObject("Outlook.Application")
Set objNS = objOL.GetNameSpace("MAPI")
Set objFolder = objNS.GetDefaultFolder(6)
num = objFolder.items.Count
I have also added to my outlook another mail box set up or our exchange
server. I can see it as a separtate mail box on my folder list.
I'd like to count the items in that too can anyone tell me how to refer to
it in a similar way to the above.
Thanks in advance Paul
in my inbox
Set objOL = CreateObject("Outlook.Application")
Set objNS = objOL.GetNameSpace("MAPI")
Set objFolder = objNS.GetDefaultFolder(6)
num = objFolder.items.Count
I have also added to my outlook another mail box set up or our exchange
server. I can see it as a separtate mail box on my folder list.
I'd like to count the items in that too can anyone tell me how to refer to
it in a similar way to the above.
Thanks in advance Paul