I am trying to setup a mechanism,
where we take a currently open email message in Outlook 2016, that has some info
in the BODY of the message (First Name, Last Name, Address, Phone). Then, take
that body and process it and put it into some fields in an access database. We
are just trying to figure out the lines of code to fill a variable in VBA with
the contents of an open Outlook 2016 email message, by clicking a button in
Access 2016.
here is the code that we currently have from 2010 to try to get the body.
Any thoughts?
strEmailbody = ActiveInspector.CurrentItem.Body
Error message is a runtime error 287
where we take a currently open email message in Outlook 2016, that has some info
in the BODY of the message (First Name, Last Name, Address, Phone). Then, take
that body and process it and put it into some fields in an access database. We
are just trying to figure out the lines of code to fill a variable in VBA with
the contents of an open Outlook 2016 email message, by clicking a button in
Access 2016.
here is the code that we currently have from 2010 to try to get the body.
Any thoughts?
strEmailbody = ActiveInspector.CurrentItem.Body
Error message is a runtime error 287