Appointment item fields from access

G

Guest

I have used ACC: Using Automation to Add Appointments to Microsoft Outlook (Microsoft Knowledge Base Article - 160502) to set up Appointments in Outlook from Access which ahs worked fine. The code adds data to appointment time, date, reminder etc but can you add to the Contacts field in the outlook appointment. I've tried .Contacts = .... and .Contact = ... but cannot get it to work. Can it be done? If so what is the fieldname?
 
S

Sue Mosher [MVP-Outlook]

The property you're looking for is the Links collection. Use the Links.Add
method, which takes a ContactItem as an argument.

--
Sue Mosher, Outlook MVP
Author of
Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers



kbrad said:
I have used ACC: Using Automation to Add Appointments to Microsoft Outlook
(Microsoft Knowledge Base Article - 160502) to set up Appointments in
Outlook from Access which ahs worked fine. The code adds data to appointment
time, date, reminder etc but can you add to the Contacts field in the
outlook appointment. I've tried .Contacts = .... and .Contact = ... but
cannot get it to work. Can it be done? If so what is the fieldname?
 
S

Sue Mosher [MVP-Outlook]

What is the "this" that you're referring to? The newsgroup interface you are
using apparently does not quote earlier messages in the thread, making your
latest message so short on detail that you risk not getting the answer
you're looking for. Please take the time to quote the original message.
 
G

Guest

Could you give me more information about Links.Add (as in your answer below) - I have not seen it before.

Sue Mosher, Outlook MVP
Author of
Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers



kbrad said:
I don't know what this is - where can I find out more information?

The property you're looking for is the Links collection. Use the Links.Add
method, which takes a ContactItem as an argument.

--
Sue Mosher, Outlook MVP
Author of
Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers



kbrad said:
I have used ACC: Using Automation to Add Appointments to Microsoft Outlook
(Microsoft Knowledge Base Article - 160502) to set up Appointments in
Outlook from Access which ahs worked fine. The code adds data to appointment
time, date, reminder etc but can you add to the Contacts field in the
outlook appointment. I've tried .Contacts = .... and .Contact = ... but
cannot get it to work. Can it be done? If so what is the fieldname?
 
S

Sue Mosher [MVP-Outlook]

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. Select any object or member, then press F1 to see its Help topic.

See http://www.exchangeadmin.com/Articles/Index.cfm?ArticleID=22254 for a
sample application using Links.
--
Sue Mosher, Outlook MVP
Author of
Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers



kbrad said:
Could you give me more information about Links.Add (as in your answer
below) - I have not seen it before.
 
G

Guest

Thanks, I'll try this
----- Sue Mosher [MVP-Outlook] wrote: ----

When in doubt, check the object browser: Press ALt+F11 to open the VB
environment in Outlook, then press F2. Switch from <All Libraries> t
Outlook to browse all Outlook objects and their properties, methods, an
events. Select any object or member, then press F1 to see its Help topic

See http://www.exchangeadmin.com/Articles/Index.cfm?ArticleID=22254 for
sample application using Links
--
Sue Mosher, Outlook MV
Author o
Microsoft Outlook Programming - Jumpstart fo
Administrators, Power Users, and Developer
http://www.outlookcode.com/jumpstart.asp


kbrad said:
Could you give me more information about Links.Add (as in your answe
below) - I have not seen it before
 

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