I think it's by sheer luck - it's not the largest or smallest (and not the newest/oldest by size), so sorting by size won't help. It's not the oldest or newest, so it won't sort at the top (or bottom) when you sort by date.
You are grouping by conversation but changing the sort order changes...
Because both are files, I think you could get a file name in one folder, look for a match in the other - it would be slower than reading both and creating arrays to compare.
This should read the folder and create an array - (untested, so i might have a typo or mistake) - then use each entry to...
Create the profile in Control panel, Mail. Add the imap accounts to the profile then before opening outlook, switch to the Data files tab and add the pst to the profile. Set it as the default data file.
Adding the pst and setting it as the default data file before opening outlook is...
It gets rid of the extra whitespace around the messages when coming soon is enabled. Comparing the tighter spacing with Coming soon off, its about the same. I dont have the same accounts set up in both test systems - it would probably be better if the mailbox were identical.
It should keep the last used settings... unless you use a registry key to force a specific view.
If you open then close outlook and reopen, the to-do is gone? Changes don't always stick on a reboot if updates are waiting to be installed.
For that macro to work, messages need to be in the sent folder. But I think if outlook doesnt save them in the sent folder, they wont be found until they sync.
Save Sent Items in Shared Mailbox Sent Items folder
On the folder entryid, i couldnt get it to work (probably user error :)).
Yeah... that is the problem. You need to get the current path and move the mail. When i used move last night, an error said it wouldn't work with reading pain replies, so i went back to your method.
Second problem is sent items for shared mailboxes are not saved in the shared mailbox folder by...