Hi, today I am using TextBox_Change event to reject | characters. Public Sub txtName_Change() If String.InStr(Last.Text, "|") > 0 Then Last.Text = Replace(Last.Text, "|", "") Endif End I guess MaskBox can do this much simplier, but how, what Mask? /Patrik