A Microsoft Outlook email forum. Outlook Banter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Outlook - Using Forms
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Tags: ,

Determine if an Item is New





 
 
Thread Tools Display Modes
  #1  
Old July 26th 07, 04:02 AM posted to microsoft.public.outlook.program_forms
dch3
external usenet poster
 
Posts: 105
Default Determine if an Item is New

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
  #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?

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Determine who removed a meeting Chris S Outlook - Calandaring 1 April 17th 07 01:58 PM
How to determine location of Outlook Add-In jk Outlook and VBA 5 January 11th 07 06:21 PM
How to determine if an attactment is hidden? Karsten_Markmann Outlook and VBA 1 December 8th 06 06:05 PM
how to determine if cache mode on or off Steve Paul Outlook - Installation 3 October 3rd 06 10:58 PM
Determine if a Folder contains a UserProperty Rog Add-ins for Outlook 3 April 10th 06 06:54 PM


All times are GMT +1. The time now is 12:31 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2008 Outlook Banter, part of the NewsgroupBanter project.
The comments are property of their posters.
Loans - Remortgages - Property for sale in Spain - CreditCards - Compare Credit Cards