+ Reply to Thread
Results 1 to 3 of 3

Outlook 2007, Referencing mail Item created from outlook template

  1. #1
    Registered User
    Join Date
    01-23-2014
    Location
    California, US
    MS-Off Ver
    Excel 2007, Outlook 2007
    Posts
    2

    Outlook 2007, Referencing mail Item created from outlook template

    Hi,

    I'm trying to write a VBA code in outlook that creates an email from the outlook template and references that email. I can do this if the template is located in my computer's hard drive. I can't do this when I try to open the template from outlook's folder itself. I want to create the email from outlook's folder, because this macro will be used on different computers.

    The code below opens the template and creates an email. But I cannot find a way to reference that email to save/close/manipulate. Can anybody help me with this? Here's the code I have so far.

    Please Login or Register  to view this content.

  2. #2
    Registered User
    Join Date
    01-23-2014
    Location
    California, US
    MS-Off Ver
    Excel 2007, Outlook 2007
    Posts
    2

    Re: Outlook 2007, Referencing mail Item created from outlook template

    Anybody know how to do this?

  3. #3
    Forum Contributor
    Join Date
    08-27-2006
    Posts
    136

    Re: Outlook 2007, Referencing mail Item created from outlook template

    Try CreateItemFromTemplate. The .oft file is in a Windows folder not an Outlook folder.

    http://msdn.microsoft.com/en-us/libr...ffice.15).aspx

    Please Login or Register  to view this content.
    To mark "Solved" go to Thread Tools.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] automatically fill template and create Outlook mail
    By Bax in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 07-18-2013, 05:46 AM
  2. Replies: 0
    Last Post: 02-02-2013, 03:06 PM
  3. Macro to create an e-mail using an Outlook Template and add an attachment
    By hsarro in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-06-2012, 12:25 PM
  4. outlook redemtion macro cant send mail if outlook is not open ?
    By okl in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 02-03-2010, 07:35 AM
  5. Excel 2007/ Outlook 2007 mail Problem
    By Bostock in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-25-2007, 04:26 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1