Hi,
I am using VBA in Excel to connect with Outlook Sent Items folder and save the mail item in shared network drive.
The macro is working fine, the challenge I face is when I try to sort the sent item to pick recently sent item as first email. The below email do works in Outlook 2013
SubFolder.Items.Sort "[SentOn]", Descending:=True
But does not sort the same way in 2010! It picks oldest email in the sent email folder.
based on some website I even tried :
set MyItems as SubFolder.items
MyItems.Sort "[SentOn]", Descending:=True
Still no success. I tried changing True to False but no success.
Any help please.
Regards,
Prasad DN
I am using VBA in Excel to connect with Outlook Sent Items folder and save the mail item in shared network drive.
The macro is working fine, the challenge I face is when I try to sort the sent item to pick recently sent item as first email. The below email do works in Outlook 2013
SubFolder.Items.Sort "[SentOn]", Descending:=True
But does not sort the same way in 2010! It picks oldest email in the sent email folder.
based on some website I even tried :
set MyItems as SubFolder.items
MyItems.Sort "[SentOn]", Descending:=True
Still no success. I tried changing True to False but no success.
Any help please.
Regards,
Prasad DN