Solved

insert field in outlook 2010 email

Posted on 2014-07-18
3
1,719 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

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

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

Find out what you should include to make the best professional email signature for your organization.
This Experts Exchange video Micro Tutorial shows how to tell Microsoft Office that a word is NOT spelled correctly. Microsoft Office has a built-in, main dictionary that is shared by Office apps, including Excel, Outlook, PowerPoint, and Word. When …
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

830 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