Determine if an Item is New

D

dch3

Is there a way to use VBScript to determine wether or not an item is new when
the Inspector for the item is opened?
 
S

Sue Mosher [MVP-Outlook]

In the Item_Open event handler, look at the value of the Size or EntryID property. Size = 0 or EntryID = "" means it's a new item:

Function Item_Open()
If Item.Size = 0 THen
' it's new
End If
End Function
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top