I am using a VBA function in Access that generates emails from an .oft outlook model with the code below. Since it forces the user to prompt the Outlook safe msg box "..is trying to access the address book for N minutes...", I would like to to this:
1. pick the HTML code of the model without having to create an item from template;
2. create a new item (in this way I am not asked to prompt the safety msg box)
3. put the code in the new item.
Can you suggest an useful code to do this? Thanx.
Set olkApp = CreateObject("Outlook.application")
Set olkMsg = olkApp.CreateItemFromTemplate(oModello)