i am working on a web application that would be viewing an excel file, i’m trying to use the officeviewer ocx but i am having some problem.

i tried to follow the sample code but to no avail… code as follows:

function OpenFromServer()
{document.all.OA1.Open (‘http://dell33/exceldata/exceltest.xls’, ‘Excel.Sheet’;}

i get an error as follows: “Microsoft JScript runtime error: Invalid procedure call or argument”

please help ASAP, thanks