how do i easily add emails from outlook into a planner task list
- User
how do i easily add emails from outlook into a planner task list
- Assistant
As an AI language model, I do not have the capability to access or control your computer's applications. However, I can suggest the following general steps that you can follow to add emails from Outlook into a planner task list:
- Open Outlook and select the email you want to add to the task list.
- Click on the "More Actions" button (represented by three dots) located at the top-right corner of the email.
- From the drop-down menu, select "Create Task".
- In the "New Task" window, enter the details of the task such as title, due date, priority, and notes.
- Select the planner task list where you want to add the task. If you haven't created a task list yet, you can do so by clicking on the "New List" button located at the bottom-left corner.
- Click on the "Save" button to add the task to the planner task list.
Alternatively, you can use the Microsoft Power Automate app to set up a flow that automatically creates a task in your planner task list whenever you receive a new email in your Outlook inbox.
- User
how do i automate using a macro or script
- Assistant
To automate adding emails from Outlook into a planner task list using a macro or script, you can follow the steps below:
- Open Outlook and press "Alt + F11" to open the Microsoft Visual Basic for Applications (VBA) editor.
- User
amend the above for a bucket called emails in a planner board called Personal Lists
- Assistant
Here's the updated code to add the task to a bucket called "Emails" in a planner board called "Personal Lists":
Sub AddToPlannerTaskList() Dim myItem As MailItem Set myItem = Application.ActiveExplorer.Selection.Item(1) Dim myTasks As Outlook.Tasks Dim myTask As Outlook.TaskItem Set myTasks = Application.Session.GetDefaultFolder(olFolderTasks).Items Set myTask = myTasks.Add() With myTask .Subject = myItem.Subject .DueDate = myItem.ReceivedTime + 7 .Body = myItem.Body 'Enter the ID of your planner board below .Categories = "Personal Lists" 'Enter the ID of your bucket below .BillingInformation = "Emails" End With myTask.Save End SubReplace "Personal Lists" with the ID of your planner board and "Emails" with the ID of your bucket. You can find the ID of your planner board and bucket in the URL after "plans/" and "buckets/", respectively. Remember to save the code, close the editor, and add the task to the planner board by right-clicking on an email and selecting "Add to Planner Task List" from the context menu.
- User
modify for bucket ID gCEc6yVpg0-SLITIWXhKA5cAG92w and board ID ggTs5O04KUOZYje2w8QJvZcAPHKM
- Assistant
Here's the updated code to add the task to a bucket with ID "gCEc6yVpg0-SLITIWXhKA5cAG92w" in a planner board with ID "ggTs5O04KUOZYje2w8QJvZcAPHKM":
Sub AddToPlannerTaskList() Dim myItem As MailItem Set myItem = Application.ActiveExplorer.Selection.Item(1) Dim myTasks As Outlook.Tasks Dim myTask As Outlook.TaskItem Set myTasks = Application.Session.GetDefaultFolder(olFolderTasks).Items Set myTask = myTasks.Add() With myTask .Subject = myItem.Subject .DueDate = myItem.ReceivedTime + 7 .Body = myItem.Body 'Enter the ID of your planner board below .Categories = "ggTs5O04KUOZYje2w8QJvZcAPHKM" 'Enter the ID of your bucket below .BillingInformation = "gCEc6yVpg0-SLITIWXhKA5cAG92w" End With myTask.Save End SubReplace "ggTs5O04KUOZYje2w8QJvZcAPHKM" with your board ID and "gCEc6yVpg0-SLITIWXhKA5cAG92w" with your bucket ID. Remember to save the code, close the editor, and then right-click on an email in Outlook and select "Add to Planner Task List" from the context menu to add the task to the planner board.