I have a custom contacts folder in outlook I wish to update from a table.
I can add contacts, but just can't seem to delete contacts?
Anyone help?
code to add:
when I try this code I get an ole error "Parameter not optional"
I can add contacts, but just can't seem to delete contacts?
Anyone help?
code to add:
Code:
loNewContact = oDefaultfolder.Items.Add()
when I try this code I get an ole error "Parameter not optional"
Code:
oItems=oDefaultFolder.items
FOR EACH oItem IN oItems
oItems.delete( )
endfor