Outlook VBA OneNote Page Template

Derek 1 Reputation point
2021-10-08T18:19:03.697+00:00

I've set up a rule in outlook to automatically forward emails containing a specific subject to create a page into a specific section in OneNote.

Is there a way to combine this with a template in OneNote.

For example, I receive a message, message is forwarded to OneNote, Onenote creates a new page with the template (say an excel sheet), including the email.

Here is the current Outlook VBA I am running as an rule:

Sub ChangeSubjectForward(Item As Outlook.MailItem)
Item.Subject = "@ Deal Tracker"
Item.Save

Set myForward = Item.Forward
myForward.Recipients.Add "me@onenote .com"

myForward.Send

End Sub

{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.