Outlook Banter

Outlook Banter (http://www.outlookbanter.com/)
-   Outlook - Using Forms (http://www.outlookbanter.com/outlook-using-forms/)
-   -   Alternative to CreateItemFromTemplate (http://www.outlookbanter.com/outlook-using-forms/82398-alternative-createitemfromtemplate.html)

melon November 27th 08 08:39 PM

Alternative to CreateItemFromTemplate
 
Application.CreateItemFromTemplate let me create a new item from a OFT
file. The problem is, if the form is not published then scripts
inside the form will not run. Now, how could I create a form from a
publish source (example: personal form library) by using script?

Michael Bauer [MVP - Outlook] November 30th 08 05:22 PM

Alternative to CreateItemFromTemplate
 
Am Thu, 27 Nov 2008 12:39:04 -0800 (PST) schrieb melon:

If the form is published to a library, call the Items.Add function of a
folder, and pass the corresponding MessageClass property (name of the form).

--
Viele Gruesse
Michael Bauer - MVP Outlook

: Outlook-Kategorien? Category Manager ist die Lösung
: VBOffice Reporter für Datenanalyse & Berichte
: http://www.vboffice.net/product.html?pub=6


Application.CreateItemFromTemplate let me create a new item from a OFT
file. The problem is, if the form is not published then scripts
inside the form will not run. Now, how could I create a form from a
publish source (example: personal form library) by using script?



All times are GMT +1. The time now is 09:47 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-2006 OutlookBanter.com