Solved

insert field in outlook 2010 email

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

Control application downtime with dependency maps

Visualize the interdependencies between application components better with Applications Manager's automated application discovery and dependency mapping feature. Resolve performance issues faster by quickly isolating problematic components.

Question has a verified solution.

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

Suggested Solutions

Is your Office 365 signature not working the way you want it to? Are signature updates taking up too much of your time? Let's run through the most common problems that an IT administrator can encounter when dealing with Office 365 email signatures.
MS Outlook is a world-class email client application that is mainly used for e-communication globally.  In this article, we will discuss the basic idea about MS Outlook, its advanced features, and types of MS Outlook File formats.
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…
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …

929 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now