如何在vb。net中打开一个excel表 并
获取数据阿 如何在vb。net中打开一个excel表 并
获取数据阿 Dim Ex As Excel.Application Dim ExBook As Excel.Workbook Dim ExSheet As Excel.Worksheet Ex = CType(CreateObject( "excel.application "),Excel.Application) Ex.Visible = True ExBook = Ex.Workbooks.Open( "武广数据 ") ExSheet = CType(ExBook.Worksheets(1),Excel.Worksheet) 但是老出错 指示下阿 __________________________________________________________________________ 如何在vb。net中打开一个excel表 并
获取数据阿 Dim Ex As Excel.Application Dim ExBook As Excel.Workbook Dim ExSheet As Excel.Worksheet Ex = CType(CreateObject( "excel.application "),Excel.Worksheet) 但是老出错 指示下阿 __________________________________________________________________________ 使用Microsoft.jet.oledb.4.0读取. __________________________________________________________________________ 楼上的兄弟 ,没有明白哦 __________________________________________________________________________ ExBook = Ex.Workbooks.Open( "武广数据.xls ") __________________________________________________________________________ ExBook = Ex.Workbooks.Open( "武广数据 ") 的路径是绝对的~ __________________________________________________________________________
原文链接:https://www.f2er.com/vb/264087.html