OK, lets take a differnent approach
I've seen "Reply event"
Is there any way in VBA to see if theis event has happened.
What I read it as if the user selects reply, then i should be able to
test to see if this event is "True or False"
many thanks
On Tue, 21 Feb 2006 17:55:11 -0500, "Sue Mosher [MVP-Outlook]"
wrote:
The problem with your code below is that ActiveInspector is not an item. It's just the window showing an item. In VBA, if you want the item, you use:
Set myItem = Application.ActiveInspector.CurrentItem
Because the Sent property is specific to the MailItem object, you should check that myItem is a MailItem before you do anything else. Then you can check the value of the Sent property:
If myItem.Class = olMail Then
If myItem.Sent = True Then
' it's not a newly created item
' put your code to work with myItem here
End If
End If
See http://www.outlookcode.com/d/propsyntax.htm for a basic primer on Outlook property syntax.