Open an excel file in the host
-
Hello I put my application in the server in the application the user can export some data to an excel file my problem is that the excel file don't open on the client and it will just open the excel in the task manager in server Please can someone help me """"" On Error GoTo errprocess Dim objSheet As Microsoft.Office.Interop.Excel.Worksheet Dim wb As Microsoft.Office.Interop.Excel.Workbook wb = New Excel.Application().Workbooks.Add(path) wb.Application.Visible = True objSheet = wb.ActiveSheet objSheet.Cells(11, 2) = "ttt" objSheet.Cells(13, 2) = "ggg" objSheet.Cells(14, 2) = "kkk" objSheet.Cells(15, 2) = "eee" objSheet.Cells(16, 2) = "rrr" objSheet.Cells(14, 4) = "yyy" objSheet.Cells(12, 4) = "bbb" objSheet.Cells(17, 4) = "ccc" '''''' objSheet.Columns.AutoFit() Exit Sub errprocess: ' Response.Write(Err.Description & " " & Err.Number & " " & Err.Source) Response.End() """""" Thanks in advance Assaf