I am trying to build a simple synch button from access to a public folder in a custom form. how do i identify a specific folder in the public folder group?
the code I have is:
Set objOutlook = CreateObject(“Outlook.Application”)
Set nms = objOutlook.GetNamespace(“MAPI”)
Set fldContacts = nms.GetDefaultFolder(olFolderContacts)
Set itms = fldContacts.Items
it would seem the last two lines need to be edited to point to something other that nms.GetDefaultFolder(olFolderContacts) and fldContacts.Items, but I can’t seem to locate any sample that doesn’t use these methods. I have looked at the slapstick.com utility but don’t want to bother with a solution that costs $$ when I should be able to build what I need with the code I have already wonked out.
Thanks!