If you just want to show some data as an excel spreadsheet, set the content type of your html file to excel format<BR>Response.ContentType = "application/vnd.ms-excel" <BR>and write the data as an HTML table.<BR>If you do this, the html file will be shown in excel. <BR><BR><%@ Language=VBScript %> <BR><% 'Change HTML header to specify Excel's MIME content type <BR>Response.Buffer = TRUE <BR>Response.ContentType = "application/vnd.ms-excel" %> <BR><BODY><BR><table><BR> <tr><BR> <td>test1</td><BR> <td>test2</td><BR> </tr><BR></table><BR></BODY><BR></HTML><BR>If you want to create and save a spreadsheet on the server from asp, you need to use automation and create excel object. Here is some sample code which creates and saves an excel file.<BR><%<BR>dim excelapp,workbook,worksheet<BR>Const xlWorkSheet = -4167<BR>Set excelapp = Server.CreateObject("Excel.Application")<BR>excela pp.Visible = false<BR>Set workbook = excelapp.Workbooks.Add(xlWorkSheet)<BR>Set worksheet = workbook.Worksheets(1)<BR>worksheet.Range("A1").Va lue = "test1"<BR>worksheet.Range("B1").Value = "test2"<BR>workbook.saveAs "c: est est.xls"<BR>workbook.close<BR>set worksheet=nothing<BR>set workbook=nothing<BR>set excelapp=nothing<BR>%><BR>Please refer to the excel object model for more information. Also note that excel is an out of process app, so if you are using anything less than iis5 you need to set the server setting to run out of proc components. In IIS5 this is set by default.