Steve,
In addition to the 'NODEFAULT' mentioned by Rich and Fred, you need to be careful with the 'otherwise' part of your case statement. If you include a "DoDefault()" command be sure you pass the 2 parameters "nKeyCode" and "nShiftAltCtrl" or you will get some nasty errors.
HTH
Barbara
>I have a KeyPress method in the textbox, which handles spacebar button. Although .Format in the textbox is T, space still gets appended to the .Value. Besides, Programmatic Change does not fire at that moment...
>I need to somehow clear the buffer before this space is appended.Please Help!
>
>Thanks in advance.