Solved

insert field in outlook 2010 email

Posted on 2014-07-18
3
1,674 Views
Last Modified: 2014-07-21
I would like to use fields to insert information about clients into the body of an Outlook 2010 oft file (email template.)  I know how to do this in a Word document, but  not an email.

I have an excel file with The Salutation, Email Address and Login and Password to drive the generation of the emails.  How do I insert  fields in the email body so I can have login and password show up in the correct spot?

I have existing VBA code to generate the email and insert the Salutation at the top.  I just don't know how to put in the field , so I can reference the field name in my VBA code.

Thanks,
tk
0
Comment
Question by:Bonbonfera_Tim_Keenan
  • 2
3 Comments
 

Accepted Solution

by:
Bonbonfera_Tim_Keenan earned 0 total points
ID: 40205543
I found my own answer.  It is the same as word.  

Place cursor where field is to go
Click on Insert> Bookmark
Enter field name
Click Add

Repeat as necessary.

Huzzah!  Thankfully that was very easy.
0
 
LVL 31

Expert Comment

by:Helen_Feddema
ID: 40209131
Once you have created (and saved) your custom email form, either as a template (.oft) file or by publishing it to your Personal or Organizational library, you then have to put the data from Excel into the fields you have created.  Here is the syntax for referencing a custom field on an Outlook form:
Set ups = Item.UserProperties
ups("CustomProperty") = strValue

Open in new window

0
 
LVL 31

Expert Comment

by:Helen_Feddema
ID: 40209136
BTW, if you are inserting bookmarks, this sounds more like a Word document than an Outlook form.  Inserting a field on an Outlook form is generally done using the Field Chooser, in Design view.
0

Featured Post

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Following basic email etiquette rules will help you write a professional email and achieve a good, lasting impression with your contacts.
Finding original email is quite difficult due to their duplicates. From this article, you will come to know why multiple duplicates of same emails appear and how to delete duplicate emails from Outlook securely and instantly while vital emails remai…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Many of my clients call in with monstrous Gmail overloading issues with Outlook. A quick tip is to turn off the All Mail and Important folders from synching. Here is a quick video I made to show you how to turn off these and other folders in Gmail s…

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question