I use the following code to open an excel file<BR>and try to modify it&#039;s content but failed.<BR><BR>&#060;%<BR> .<BR> .<BR> .<BR>Set xlsApp = CreateObject("Excel.Application")<BR>resultFileStr = Server.mappath("myExcelFile.xls")<BR>Set xlsFile = xlsApp.Workbooks.Open(resultFileStr)<BR>Set xlsSheet = xlsFile.Sheets("Data")<BR><BR>&#039; This line returns the value in xlsSheet.Cells(1,1) correctly<BR>Response.Write "xlsSheet.Cells(1,1) = " & xlsSheet.Cells(1,1)<BR><BR>&#039; But once I add this line, the asp hang without any error message<BR>xlsSheet.Cells(1,1) = "something"<BR><BR>Set xlsSheet = nothing<BR>xlsFile.close<BR>xlsFile = nothing<BR>Set xlsApp = nothing<BR>.<BR>.<BR>.<BR>%&#062;<BR><BR>Could anyone help?<BR>Thx in advance.<BR><BR>Vivian Chiu