Hi

I have a script that imports contactitems from a txt file to a public folder in outlook. Right now I'm deleting all contacts and putting them in again, but I'm trying to find a solution to update existing items records insted.

I'm doing a test on the item the the businesstelephonenumber: 75929900, but the script still write "ITEM NOT FOUND"

Can anyone see the error?

Best Regards,
Kim

sFilter = "[BusinessTelephoneNumber] = 75929900"
wscript.echo sFilter
Set CurrentFoundItem = contactFolder.Items.Find(sFilter)

' Create if new
If TypeName(CurrentFoundItem) = "Nothing" Then
wscript.echo "ITEM NOT FOUND"
Else
wscript.echo "ITEM FOUND"