vbs教程 VBS如何獲取EXCEL表里的數(shù)據(jù)?
VBS如何獲取EXCEL表里的數(shù)據(jù)?設(shè)置oexcel=CreateObject(“excel應(yīng)用程序“”設(shè)置obook=oexcel.Workbooks.Open打開(“c:測試”excel.xls格
VBS如何獲取EXCEL表里的數(shù)據(jù)?
設(shè)置oexcel=CreateObject(“excel應(yīng)用程序“”
設(shè)置obook=oexcel.Workbooks.Open打開(“c:測試”excel.xls格式“)
設(shè)置osheet=好的。床單(“Sheet1”)
“顯示第一張A1單元格數(shù)據(jù)
msgbox”osheet.細胞(1,1)
設(shè)置obook=Nothing
設(shè)置osheet=Nothingoexcel。退出