View Single Post
  #4  
Old April 25th 07, 08:18 PM posted to microsoft.public.outlook.program_vba
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default New Help With Custom Form Event

Script code won't run in OFT files, only in published custom forms.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm


"John Lane" wrote in message
...
And it's an .oft file...

"John Lane" wrote:

That should have read "Need Help...!

I also should have added that I put the code in the Script Editor pane
and
it didn't work, and then I tried it in the Visual Basid Editor (Alt F11)
and
it didn't work there either.

"John Lane" wrote:

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

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


Ads