View Single Post
  #2  
Old July 26th 07, 04:17 AM posted to microsoft.public.outlook.program_forms
Sue Mosher [MVP-Outlook]
external usenet poster
 
Posts: 11,651
Default Determine if an Item is New

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

--
Sue Mosher, Outlook MVP
Author of Microsoft Outlook 2007 Programming:
Jumpstart for Power Users and Administrators
http://www.outlookcode.com/article.aspx?id=54


"dch3" wrote in message ...
Is there a way to use VBScript to determine wether or not an item is new when
the Inspector for the item is opened?

Ads
 

0 Credit Cards - Mobile Phone - Remortgages - Bankruptcy - Myspace Layouts