Outlook Banter

Outlook Banter (http://www.outlookbanter.com/)
-   Outlook - Using Forms (http://www.outlookbanter.com/outlook-using-forms/)
-   -   Click event not firing in Outlook 2007 (http://www.outlookbanter.com/outlook-using-forms/74219-click-event-not-firing-outlook.html)

EKH June 26th 08 06:36 PM

Click event not firing in Outlook 2007
 
I have a custom form (based on an IPM.Note) that uses a command button and vb
script to save an attachment to a users "My Documents" folder. The click
event fires when I "Run this Form" (from the Developer's tab) or when I open
it from File, New, Choose Form. However, if I send the form, the click event
doesn't work for the recipient. I'm not using a separate read layout, it is
set to send the form definition with the item, the form is published to the
Organizational Forms Library, my security settings are set to warn for all
macros. Also, the form is fully functional when used in Outlook 2000. I'm
totally baffled!

Any ideas on what the problem is?

Sue Mosher [MVP-Outlook] June 26th 08 07:04 PM

Click event not firing in Outlook 2007
 
Your VBA security settings have nothing to do with code behind an Outlook form. You will need to clear the "send form definition with item" box and republish the form.

--
Sue Mosher, Outlook MVP
Author of Microsoft Outlook 2007 Programming:
Jumpstart for Power Users and Administrators
http://www.outlookcode.com/article.aspx?id=54


"EKH" wrote in message ...
I have a custom form (based on an IPM.Note) that uses a command button and vb
script to save an attachment to a users "My Documents" folder. The click
event fires when I "Run this Form" (from the Developer's tab) or when I open
it from File, New, Choose Form. However, if I send the form, the click event
doesn't work for the recipient. I'm not using a separate read layout, it is
set to send the form definition with the item, the form is published to the
Organizational Forms Library, my security settings are set to warn for all
macros. Also, the form is fully functional when used in Outlook 2000. I'm
totally baffled!

Any ideas on what the problem is?


EKH June 27th 08 12:26 AM

Click event not firing in Outlook 2007
 
Thanks much! That did the trick. I guess I misunderstood what this setting
does.

"Sue Mosher [MVP-Outlook]" wrote:

Your VBA security settings have nothing to do with code behind an Outlook form. You will need to clear the "send form definition with item" box and republish the form.

--
Sue Mosher, Outlook MVP
Author of Microsoft Outlook 2007 Programming:
Jumpstart for Power Users and Administrators
http://www.outlookcode.com/article.aspx?id=54


"EKH" wrote in message ...
I have a custom form (based on an IPM.Note) that uses a command button and vb
script to save an attachment to a users "My Documents" folder. The click
event fires when I "Run this Form" (from the Developer's tab) or when I open
it from File, New, Choose Form. However, if I send the form, the click event
doesn't work for the recipient. I'm not using a separate read layout, it is
set to send the form definition with the item, the form is published to the
Organizational Forms Library, my security settings are set to warn for all
macros. Also, the form is fully functional when used in Outlook 2000. I'm
totally baffled!

Any ideas on what the problem is?




All times are GMT +1. The time now is 07:49 AM.

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