Problems reading Appointment Label Field...

  • Thread starter Thread starter Jack Porter
  • Start date Start date
J

Jack Porter

I am trying to read the Appointment Forms Label Field using the following
syntax:

txtAppointmentLabel = objThisItem.label

I can read all of the other fields, but not the label. Anyone have any
ideas?
 
When in doubt, check the object browser: Press ALt+F11 to open the VBA
environment in Outlook, then press F2. Switch from <All Libraries> to
Outlook to browse all Outlook objects and their properties, methods, and
events. You'll see that there is no AppointmentItem.Label property. This
means that you cannot access the label information through the Outlook
object model.

You can get it through CDO or Redemption, though. See
http://www.outlookcode.com/codedetail.aspx?id=139 for sample code. --
Sue Mosher, Outlook MVP
Author of
Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
 
Back
Top