%@ Language=VBScript %> <% Option Explicit %> <% Response.Expires = 0 %> <% Dim oCs, oRs, strSQL set oCs = server.createobject("ADODB.Connection") oCs.Open "Driver={Microsoft Excel Driver (*.xls)}; DBQ=" & Server.MapPath("/database") & "/premtable.xls;" strSQL = "SELECT * FROM [Summary$] ORDER BY Pos ;" Set oRs = oCs.Execute(strSQL) %>