that I work alongside you and have a complete knowledge and understanding of your environment. Well, I don't!!!
"I'm exporting one grid with just headers" implies you have a data store of some kind (database? - if so which kind : Oracle, MS, IBM? and how do you export? this data?) and do I assume you mean you only get 1 row with column headers and if so are they static or variable?
"the user will save the excel file on his machine" - if a user saves an Excel spreadsheet then it's an Excel spreadsheet unless you mean they save it as something else (if so what format? and why save it as some other format when you need it to be an Excel spreadsheet?)
"fill the excel with some data" - now THAT I understand. (I hope... if it means the user adds some data into the spreadsheet under the column headings ? mentioned above)
"upload the same excel which has the type of html" - how can it be an Excel spreadsheet and an HTML file at the same time?? and how are they uploading it and to what - another database, a web site or what?
You need to sit down and create a list of steps that show EXACTLY what is going on in this process before ANYONE can even THINK about helping you. You might even be able to sort it out yourself that way.
Greg