boot into safe mode. to do this, restart the computer and hold down the shift key when it is booting up. when you get into safe mode, open up textedit or stickies and try to type. see if the spacebar works in there. if not, sounds like you may need to format and reinstall the os. =/