Javascript Excel OpenFile

前端 未结 2 1636
渐次进展
渐次进展 2020-12-07 03:07

I have this code:


  

        
2条回答
  •  自闭症患者
    2020-12-07 04:02

    Firstly, try moving your script to the bottom of the body. You should also set your Excel variable to be visible. And there's a typo with the line Excel.Workbook.Open("teste.xlsx"); (should be Workbooks). The following is working for me in IE. I don't think it will work in other browsers:

    
    
      
    
        


提交回复
热议问题