Can I develop an Excel-like application in Flash?

I’m looking to develop an application that allows you to set up an online spreadsheet or to be able to draw a custom table format. Can someone point me in the right direction. I’ve been googling for a week now and can’t find any direction.