Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Outlook / Programming Forms / July 2007

Tip: Looking for answers? Try searching our database.

Determine if an Item is New

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
dch3 - 26 Jul 2007 03:02 GMT
Is there a way to use VBScript to determine wether or not an item is new when
the Inspector for the item is opened?
Sue Mosher [MVP-Outlook] - 26 Jul 2007 03:17 GMT
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

Signature

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

> Is there a way to use VBScript to determine wether or not an item is new when
> the Inspector for the item is opened?
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.