Accessing custom fields in Outlook with VBA

  • Thread starter netnews.comcast.net
  • Start date
N

netnews.comcast.net

I'm new to vba in Outlook so this may seem like a simple thing to do, but I
haven't been able to figure it out. We're using a custom appointment form in
Outlook 2003. It has a dropdown box, checkbox and some textboxes. I have
figured out how to create an appointment in a public folder (from Excel
using VBA) that uses this form, but I would like to programatically populate
the fields in this custom form. I would appreciate it if someone could post
some code that updates the fields in a custom form to get me started.

Thanks in advance,
Ralph Fraley
 
S

Sue Mosher [MVP-Outlook]

Where myItem is the item you want to change:

myItem.UserProperties("Field1") = "new value

See http://www.outlookcode.com/d/propsyntax.htm

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

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

netnews.comcast.net

Thanks Sue; that's what I needed to get me going with this.

Where myItem is the item you want to change:

myItem.UserProperties("Field1") = "new value

See http://www.outlookcode.com/d/propsyntax.htm

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

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

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