i want to save a contact item programmatically by vba in a contact folder in
our public folder, but the save method saves the item in my privat contact
folder. how can i change this?
The problem lies in how you create the new instance. If you create the new
instance of the contact item as Application.CreateItem(<code for contact
item>), it will always save to the contact folder in your default delivery
infostore. To create the item in the public folder, walk the folder tree to
the public folder you want, and use the Add method of the folder's Item
collection object, specifying the custom form name to pull in a custom form.
Hollis D. Paul [MVP - Outlook]
(e-mail address removed)
Using Virtual Access 4.52 build 277 (32-bit), Windows 2000 build 2195
http://search.support.microsoft.com/kb/c.asp?FR=0&SD=TECH&LN=EN-US
Mukilteo, WA USA