D.Moore
Senior Member
- Outlook version
- Outlook 2016 64 bit
- Email Account
- Office 365 Exchange
Hi,
I would like to ask your kind help.
I have an Outlook VBA code (actually a pretty complex one) built in the past years step by step to cover all stuff I wanted to automatize in Outlook. One of this task to pull/move all my exchange account sent item folders content to my default exchange account.
It works all great, UNTIL it "collides" with my iphone accessing the exchange account teh same time when outlook vba does. Then, I receive the following error:
But the error cannot be valid, as first of all function does exist:
secondly, it works PEERFECTLY until outlook vba can access the folder for a second as my iphone does. .
I though since :
"On Error Resume Next "
is added, even if the error raised, VBA would step over it, but it doesnt.
As I know by fact that the code works perfect, and if outlook VBA retry again in couple sec will be all fine, is there any way I can ensure that if such error raised, capture it then continue ?
Many thanks for your time and help in advance!
I would like to ask your kind help.
I have an Outlook VBA code (actually a pretty complex one) built in the past years step by step to cover all stuff I wanted to automatize in Outlook. One of this task to pull/move all my exchange account sent item folders content to my default exchange account.
It works all great, UNTIL it "collides" with my iphone accessing the exchange account teh same time when outlook vba does. Then, I receive the following error:

But the error cannot be valid, as first of all function does exist:

secondly, it works PEERFECTLY until outlook vba can access the folder for a second as my iphone does. .
I though since :
"On Error Resume Next "
is added, even if the error raised, VBA would step over it, but it doesnt.
As I know by fact that the code works perfect, and if outlook VBA retry again in couple sec will be all fine, is there any way I can ensure that if such error raised, capture it then continue ?
Many thanks for your time and help in advance!