SUE Mosher/To Notes field's value through VBScript in Appointment Form

S

Satish Boddapati

Hi Sue/All,
How to access Notes field on Appointment/Calendar form into a
variable in VBScript from outlook?
Is there any method to get the access through Item.GetInspector
etc..
Because when I start to design the Appoitnment form on outlook, it is
not displaying as
in the case of Contact form design (like to set individual properties
in Contact form).

I want to programmatically(through VBScript) get the value that is
available in Notes
field on Appointment form in Outlook/Calendar form in outlook.


Any body, Please suggest

Regards
Sathish Boddapati
 
S

Sue Mosher [MVP-Outlook]

Take a look at the AppointmentItem.Body property.

--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003

and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
 
H

Hollis Paul [MVP - Outlook]

I want to programmatically(through VBScript) get the value that is
available in Notes
field on Appointment form in Outlook/Calendar form in outlook.
You can find this stuff by opening an appointment in design mode,
clicking on the script editor, then striking F2, to bring up the Object
browser. In the Object browser, select an appointment item in the left
panel, and you will see all the objects defined for the appointment
object. Now, you will quite rightly note that there is no object
defined for notes or note. But, there is a body object. If you select
that, and then the help button, you will get enough information to
conclude that body is the name of the control that you are referring to
as the notes field. It is not a field, it is a control, and the
control's name is body. Its bound to a field, but I haven't tried to
look for that. But the help info says it is a string, so body.text
should work.

But, remember, the appointment has only one body, so treat it well.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top