A
amiga1200
When I use this code
Set myolApp = CreateObject("Outlook.Application")
Set myNameSpace = myolApp.GetNamespace("MAPI")
Set myFolder = myNameSpace.GetDefaultFolder(olFolderInbox).Items
I get the following error
Could not complete operation. One or more parameter values are not valid
But If I use a number instead of olFolderInbox everything is fine
Any ideas
Thanks
Set myolApp = CreateObject("Outlook.Application")
Set myNameSpace = myolApp.GetNamespace("MAPI")
Set myFolder = myNameSpace.GetDefaultFolder(olFolderInbox).Items
I get the following error
Could not complete operation. One or more parameter values are not valid
But If I use a number instead of olFolderInbox everything is fine
Any ideas
Thanks