Weird problem!

Is an error message output when you try to upload a sketch?

Do you have the correct board selected?

Is anything connected to the board other than the USB cable?

Do you have any other boards that work with the computer?