hi,<BR><BR> I am having a excel spreed sheet with customer details.I am trying to query the data in from asp page filtering by customer id.But only for some customerid it is working fine, not for all.can any one suggest why it is happening like this.<BR><BR>my coding is ...<BR><BR>objPagingConn.open "Provider = Microsoft.Jet.OLEDB.4.0;Data Source=c: est est.xls;Extended Properties=Excel 8.0;"<BR> strSQL = "SELECT [visited_Date],[Remarks],[SSC] FROM [Range1] Where [Customer_ID]=" & Session("CustomerID") & " Order by [Visited_date]"<BR><BR><BR>thanks in advance.<BR><BR>regards<BR>raj