| |
dave99
Posts: 0
Score: 0
Joined: 3/28/2006
Status: offline
|
Original message moved by Admin Reason : Moved to a more appropriate category:) I am trying to view an Excel page in ASP, but I want to use a variable to determine which file I want to pull. How can I get the below excel file, FILE, to be based on an input variable from the web page? Set cnnExcel = Server.CreateObject("ADODB.Connection") cnnExcel.Open "DBQ=" & Server.MapPath("FILE.xls") & ";" & _ "DRIVER={Microsoft Excel Driver (*.xls)};" Thanks!
|
|