Michael Paravicini
asked on
olns.GetDefaultFolder(olFolderInbox) does not work for non english versions of Outlook
I am using Set ofO = olns.GetDefaultFolder(olFo lderInbox) to access emails in Outlook which works fine if I'm using an English version of Outlook. However, as soon as the user uses a different version for example Spanish version of Outlook, the same code generates an err.number = -2147221233 and I have no clue why. I also tried to use Set ofO = olns.Folders("reservas@hot elviravira .com").Fol ders("Band eja de entrada") but again with the same result. Thank you for any help...
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Which is strange because it works for me with German / German, and I've not heard of any issues with languages up to now.
Did you try to look up the folders collection as mentioned above?
Did you try to look up the folders collection as mentioned above?
ASKER