Working with current open email

前端 未结 3 939
日久生厌
日久生厌 2020-12-03 17:47

I would like to get the active opened MailItem (whether it\'s a new mail or a received mail). I need to add some content to that mail when the user runs my macro. I\'m using

3条回答
  •  时光说笑
    2020-12-03 18:19

    Do you mean the currently selected message? In that case you need to use Application.ActiveExplorer.Selection collection, not Application.ActiveInspector.CurrentItem.

提交回复
热议问题