Taurus James wrote: > Try checking if value is numeric using something like... > > If isNumeric(cid) = True Then > cid = cInt(cid) > '... > End If > > - Taurus > > Thanks Taurus, this worked like a charm.