I added the [Phone 1 Selector] to the formula proptery and I added the
suggested code:
Sub Item_PropertyChange(ByVal Name)
MsgBox "The " & Name & " property changed."
End Sub
Sub Item_CustomPropertyChange(ByVal Name)
MsgBox "The " & Name & " custom property changed."
End Sub
To see all the property changes but I only see a "ConversationIndex" change
when a new contact is created. Changing any of the phone selectors, e.g.
changing "Business" to "Assistant", doesnt fire any change messages.
BTW, I am using Outlook 2000. What am I doing wrong?
Sue Mosher said:
You can create a custom formula property that uses [Phone 1 Selector] for
its formula, then watch for the CustomPropertyChange event. Unfortunately,
that event may fire as many as 9 times for one selection change, so it's not
really very useful. That's the best I've been able to come up with so far.
FYI, see
http://www.outlookcode.com/d/propsyntax.htm for the correct usage
of the PropertyChange and CustomPropertyChange events.
David said:
Hi All
How can you detect when the user changes 1 of the 4 phone selectors on a
Contact form?
I know that the following does NOT work.
Sub Phone1_PropertyChange(ByVal Name)
...
End Sub
Any help would be appricated.
Thanks