![]() |
If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
![]()
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 |
#2
|
|||
|
|||
![]()
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 |
#3
|
|||
|
|||
![]()
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 |
#4
|
|||
|
|||
![]()
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 |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
ou2007 custom form icon change on event | fileman | Outlook - Using Forms | 5 | March 29th 07 01:22 PM |
forward event of Custom form | cynthia | Outlook - Using Forms | 5 | March 9th 07 03:37 PM |
Custom Event Form | Anne | Outlook - Using Forms | 0 | August 25th 06 10:59 PM |
Adding/Using a custom form during the NewInspector event | Tom at GSD | Add-ins for Outlook | 3 | July 12th 06 11:21 PM |
How to handling Custom Form Control Event in VB Com Add-In? | Raphaël ZHOU \(Jadiam\) | Outlook - Using Forms | 1 | January 11th 06 08:31 AM |