View Single Post
  #2  
Old August 11th 08, 04:48 PM posted to microsoft.public.outlook.program_vba
Sue Mosher [MVP-Outlook]
external usenet poster
 
Posts: 11,651
Default Appointment Field to save int value

Use the AppointmentItem.UserProperties.Add method to add a custom integer
property to each item:

Set myProp = myAppt.UserProperties.Add("my property", olInteger)
myProp.Value = 1
--
Sue Mosher, Outlook MVP
Author of Microsoft Outlook Programming: Jumpstart
for Administrators, Power Users, and Developers
http://www.outlookcode.com/jumpstart.aspx



"Mads Westen" wrote:

Hi,

I'm using Outlook as calendar through another program.
I need to save an INT value in a field of the Appointment item. It doesn't
matter that the field isn't visible in standard view.
Currently I'm using Location and Subject. The body field is going to be
implemented.


Ads