Solved

insert field in outlook 2010 email

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

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Resolve Outlook connectivity issues after moving mailbox to new Exchange 2016 server
Not sure what the best email signature size is? Are you worried about email signature image size? Follow this best practice guide.
To add imagery to an HTML email signature, you have two options available to you. You can either add a logo/image by embedding it directly into the signature or hosting it externally and linking to it. The vast majority of email clients display l…
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: …

763 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

7 Experts available now in Live!

Get 1:1 Help Now