GoodManStuckNMicrosfWorld
Senior Member
- Outlook version
- Outlook 2016 64 bit
- Email Account
- Exchange Server
Let's say I've opened a mail item, which happens to be the 2nd item("Msg2") in Inbox.
Now I go back to the Inbox window but select the third item("Msg3").
ActiveInspector.CurrentItem would show data, but that's irrelevant to the current window item.
Application.ActiveExplorer.Selection(1) would work great.
Now I flip over to the open Msg2 mailitem so it is the current (focused) window.
Now the opposite is useful:
Application.ActiveExplorer.Selection(1) would be Msg3 - wrong, for current focus
ActiveInspector.CurrentItem would give the correct Msg2 .subject, .body, etc.
The problem is that there's both a current item and a current folder. How do I identify which is currently in focus?
I keep looking for something with "Current" in it; CurrentView seems to refer to the "type of view" rather than the contents of the current window.
I Googled hard before posting this, but may have ineptly failed; slap me if it's already covered in past posts.
Now I go back to the Inbox window but select the third item("Msg3").
ActiveInspector.CurrentItem would show data, but that's irrelevant to the current window item.
Application.ActiveExplorer.Selection(1) would work great.
Now I flip over to the open Msg2 mailitem so it is the current (focused) window.
Now the opposite is useful:
Application.ActiveExplorer.Selection(1) would be Msg3 - wrong, for current focus
ActiveInspector.CurrentItem would give the correct Msg2 .subject, .body, etc.
The problem is that there's both a current item and a current folder. How do I identify which is currently in focus?
I keep looking for something with "Current" in it; CurrentView seems to refer to the "type of view" rather than the contents of the current window.
I Googled hard before posting this, but may have ineptly failed; slap me if it's already covered in past posts.