求ASP导出Excel数据格式为Excel 2007的代码!
<%nowfilename=replace(replace(replace(now,":",""),"",""),"/","")Response.Buffer=TrueR...
<%
nowfilename=replace(replace(replace(now,":","")," ",""),"/","")
Response.Buffer = True
Response.ContentType = "application/vnd.ms-excel"
Response.AddHeader "content-disposition", "inline; filename = "&nowfilename&".xls"
%>
上面的代码导出的是excel 2003格式,我现在想导出格式为excel 2007这个代码该怎么写? 展开
nowfilename=replace(replace(replace(now,":","")," ",""),"/","")
Response.Buffer = True
Response.ContentType = "application/vnd.ms-excel"
Response.AddHeader "content-disposition", "inline; filename = "&nowfilename&".xls"
%>
上面的代码导出的是excel 2003格式,我现在想导出格式为excel 2007这个代码该怎么写? 展开
2个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询