I've found using OnKeyPress and OnKeyDown becomes problematical when dealing with <Shift> + <Another key> combinations and for something like this I'd use something like
Code:
Private Sub ControlName_Change()
If Right(Me.ControlName.Text, 1) Like "[#,!,@,$,%,&]" Then Me.ControlName.Text = Left(Me.ControlName.Text, Len(Me.ControlName.Text) - 1)
End Sub
where ControlName is replaced with the actual name of your textbox. Simply add any additional characters to block to