Where is n declared and what data type is it?
The reason is that this line:
If ChkListBox.CheckedItems.Item(n) = Trim(TextBox1.Text) Then
will normally complain about the '='
"Success is dependent on effort."~Sophocles
"Behold the turtle. He makes progress only when he stick his neck out."~James Bryant Conant
Last edited by McF; 09-09-2005 at 06:47 AM.