以下是语法格式:
Provider=
Microsoft.ACE.OLEDB.12.0;
Data Source=
c:\myFolder\myExcel2007file.xlsx;
Extended Properties=
"Excel 12.0 Xml;HDR=YES";
|
以下是语法格式:
Provider=
Microsoft.ACE.OLEDB.12.0;
Data Source=
c:\myFolder\myExcel2007file.xlsx;
Extended Properties=
"Excel 12.0 Xml;HDR=YES;IMEX=1";
|
以下是语法格式:
Provider=
Microsoft.ACE.OLEDB.12.0;
Data Source=
c:\myFolder\myBinaryExcel2007file.xlsb;
Extended Properties=
"Excel 12.0;HDR=YES";
|
以下是语法格式:
Provider=
Microsoft.ACE.OLEDB.12.0;
Data Source=
c:\myFolder\myExcel2007file.xlsm;
Extended Properties=
"Excel 12.0 Macro;HDR=YES";
|