Hi Mark, Thanks a lot for your response. In your reply, I think you are talking about use OLE Automation Object. To use this I think we may need to reset Security feature of the browser (maybe to a lower level). I am not sure whether what I am stating is true. Please let me have your views/comments. Thanks again for sparing some time for the reply. Vijay
Vijay, You can manipulate the details of Excel using a library instead of just outputing a deliminated file. Apache's POI contains HSSF (horrible spreadsheet format) which is a great open source library for manipulating Excel files. You can do almost anything in HSSF that you could do with your mouse if you had the file in front of you. It's pretty easy to use and comes with samples.