PDA

View Full Version : a code that send emails to OneNote based on a chosed criteria



kobuky5
08-20-2016, 03:02 AM
I'm not experienced with VBA so I'm looking for some guidance on how to write a code that scans the email massage and based on a found criteria (e.g. some text or parameter) sends the email to a specific page in OneNote application.
I was thinking on some direct VBA instructions, however, using the ribbon "send to OneNote" button from within the VBA looks like an option as well.

Any tip or help would be welcome.

Thank you in advance.

Charlize
08-31-2016, 02:31 AM
I think this page could be a good starting point : https://msdn.microsoft.com/en-us/library/office/dn575425.aspx

Regarding which mail you would save or not I suggest using Categories. Create a categorie called OneNote. Create a rule that checks every message that you send on this categorie. If found, perform your written module for saving to OneNote.

Good luck :)

Charlize

kobuky5
09-07-2016, 10:31 PM
Thank you Charlize.
It seems to me as if no VBA is mentioned in this page.
Do I miss anything?