A Microsoft Outlook email forum. Outlook Banter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Outlook - Using Forms
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Inserting customized information in an Outlook template



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old January 11th 07, 11:04 PM posted to microsoft.public.outlook.program_forms
Sare
external usenet poster
 
Posts: 2
Default Inserting customized information in an Outlook template

I want to customize an Outlook message template by changing information in
the To and Subject lines and the body of the message. Is there a way to do
that similar to mail merge in Word?
  #2  
Old February 1st 07, 02:02 AM posted to microsoft.public.outlook.program_forms
Sue Mosher [MVP-Outlook]
external usenet poster
 
Posts: 11,651
Default Inserting customized information in an Outlook template

Word mail merge can handle the body and to. For the subject, though,you'd have to write your own code to create Outlook items, set the subject, set the body. The simplest way I know to do that is to create and save an Outlook form template .oft file that contains the message you want to send with placeholders for the information you want to customize. You can then use Application.CreateItemFromTemplate to create a new message and Replace() to replace each placeholder with your custom text.

--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003
http://www.turtleflock.com/olconfig/index.htm
and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
http://www.outlookcode.com/jumpstart.aspx

"Sare" wrote in message ...
I want to customize an Outlook message template by changing information in
the To and Subject lines and the body of the message. Is there a way to do
that similar to mail merge in Word?

  #3  
Old February 1st 07, 03:28 AM posted to microsoft.public.outlook.program_forms
Sare
external usenet poster
 
Posts: 2
Default Inserting customized information in an Outlook template

Thank you for your response, Sue. I actually foung a program from MAPIlab
that gives me the ability to customize, including the subject line. Your
solution would be another, slightly less convenient, but free!
Sare

"Sue Mosher [MVP-Outlook]" wrote:

Word mail merge can handle the body and to. For the subject, though,you'd have to write your own code to create Outlook items, set the subject, set the body. The simplest way I know to do that is to create and save an Outlook form template .oft file that contains the message you want to send with placeholders for the information you want to customize. You can then use Application.CreateItemFromTemplate to create a new message and Replace() to replace each placeholder with your custom text.

--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003
http://www.turtleflock.com/olconfig/index.htm
and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
http://www.outlookcode.com/jumpstart.aspx

"Sare" wrote in message ...
I want to customize an Outlook message template by changing information in
the To and Subject lines and the body of the message. Is there a way to do
that similar to mail merge in Word?


 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Inserting File Attachments - Outlook has gone blind! Roland Aalto Outlook - Installation 0 August 27th 06 01:37 PM
customized forms in outlook Srinivas Add-ins for Outlook 1 July 7th 06 01:54 PM
Problem Printing Customized Outlook Form using Word Template ajkim001 Outlook - Using Forms 15 April 28th 06 06:28 PM
Inserting Attachments Problem With Outlook 2003 Mick Outlook - Installation 1 April 24th 06 08:46 PM
inserting a signature in outlook 2003 Peter McCaul Outlook - General Queries 2 April 18th 06 05:45 PM


All times are GMT +1. The time now is 01:57 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2025 Outlook Banter.
The comments are property of their posters.