View Single Post
  #5  
Old April 26th 07, 02:36 PM posted to microsoft.public.outlook.program_vba
John Lane
external usenet poster
 
Posts: 26
Default HELP! Custom Form Events

Sorry. Meant "Save As" on the File pull down. Thanks for the heads up on
forms. Was in here as I was fooling with VB, so figured this was the place to
put my question.

"Sue Mosher [MVP-Outlook]" wrote:

Export? Sorry, I don't know what you mean in this context.

--
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

"John Lane" wrote in message ...
So will code run if I publish it then export it? Thanks.

"Sue Mosher [MVP-Outlook]" wrote:

Code runs only on published forms, not on items created with an .oft file.

Item is an intrinsic object in Outlook form VBScript code.

FYI, there is a newsgroup specifically for Outlook forms issues "down the hall" at microsoft.public.outlook.program_forms or, via web interface, at http://www.microsoft.com/office/comm...rogram_f orms

"John Lane" wrote in message ...
Below is code I have in a custom Outlook (2003) form but it doesn't fire
when I change or click into the Subject field or any field. Does "Item" have
to be defined or something? I followed the example in KB article 171246. The
form is invoked from an .oft file. The code was inserted in the Script Editor.
Thanks.

Sub Item_PropertyChange (ByVal myPropertyName)
msgbox "here1"
If myPropertyName = "Subject" then
msgbox "hello - Subject"
End if



Ads