Operating system:: Windows 11
Outlook version: Outlook 365
Email type or host: Microsoft 365
Outlook version: Outlook 365
Email type or host: Microsoft 365
May I ask is there some way, either with an interface setting I can't find or with VBA code, to make Outlook prompt me for confirmation before deleting a task?
Here's what happens to me painfully often: I get an e-mail containing something I need to add to an existing task. I double-click the task in the To-Do bar and add a bullet point, then save and close the task (returning me to the Inbox view). Then I press Delete on the keyboard, intending to delete the incoming e-mail -- but the focus is still on the task I double-clicked, and it just goes away. Undo does not get it back. I can get it back from Deleted Items, but first I have to notice that it's gone.
Ideally, Outlook would say, "Are you sure you want to delete this task? Yes/No
I did find TaskItem.BeforeDelete object, but I'm not sure how to implement it to achieve the end goal.
I also found a code snippet here that claims to work for almost any object item, but it's not prompting me when running tests. BeforeDelete Event - Microsoft Outlook Visual Basic Documentation
Thanks!
Here's what happens to me painfully often: I get an e-mail containing something I need to add to an existing task. I double-click the task in the To-Do bar and add a bullet point, then save and close the task (returning me to the Inbox view). Then I press Delete on the keyboard, intending to delete the incoming e-mail -- but the focus is still on the task I double-clicked, and it just goes away. Undo does not get it back. I can get it back from Deleted Items, but first I have to notice that it's gone.
Ideally, Outlook would say, "Are you sure you want to delete this task? Yes/No
I did find TaskItem.BeforeDelete object, but I'm not sure how to implement it to achieve the end goal.
I also found a code snippet here that claims to work for almost any object item, but it's not prompting me when running tests. BeforeDelete Event - Microsoft Outlook Visual Basic Documentation
Thanks!