Well, I publish it, then save it to the .oft file. It was the only way I
could figure out
how to make an .oft file out of the published form. But you're right, it
didn't work. And in corporate America, user departments don't have the
permission to publish a form to a public folder.
> Code will run only on items created from a published form. I don't see how Save As fits into your scenario.
>
[quoted text clipped - 21 lines]
> >> >> > msgbox "hello - Subject"
> >> >> > End if
Saving it to the .oft file makes a backup copy of the published form, but doesn't give you anything to put into production. What you must use to create new items is the published form. If you can't publish it to an appropriate location (and we don't know what that is, because you haven't said what kind of form it is), then an Outlook custom form is not a viable solution for your scenario (which you also haven't described).

Signature
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
> Well, I publish it, then save it to the .oft file. It was the only way I
> could figure out
[quoted text clipped - 3 lines]
>
>> Code will run only on items created from a published form. I don't see how Save As fits into your scenario.
>>
>> > Sorry. Meant "Save As" on the File pull down. Thanks for the heads up on
[quoted text clipped - 20 lines]
>> >> >> > msgbox "hello - Subject"
>> >> >> > End if
John Lane - 27 Apr 2007 13:38 GMT
I thought forms could only be published to Exchange folders. Can they be
published to a file system file? Thanks.
> Saving it to the .oft file makes a backup copy of the published form, but doesn't give you anything to put into production. What you must use to create new items is the published form. If you can't publish it to an appropriate location (and we don't know what that is, because you haven't said what kind of form it is), then an Outlook custom form is not a viable solution for your scenario (which you also haven't described).
>
[quoted text clipped - 30 lines]
> >> >> >> > msgbox "hello - Subject"
> >> >> >> > End if
Sue Mosher [MVP-Outlook] - 27 Apr 2007 15:18 GMT
No, forms can be published to the user's Personal Forms library, the organization's Organizational Forms library on the Exchange Server, or to a folder. Saving a form as an .oft file is not publishing it. Only published forms should be used to create new items. .oft files can server as backup copies of published forms.

Signature
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
>I thought forms could only be published to Exchange folders. Can they be
> published to a file system file? Thanks.
[quoted text clipped - 33 lines]
>> >> >> >> > msgbox "hello - Subject"
>> >> >> >> > End if