G
Guy Cohen
Hi all,
I use VB6,SP6,MDAC_TYP 2.8,ACCESS MDB FILE.
I use these two lines to import an Excel file into a table:
SQL = "SELECT * INTO [" & "table name goes here" & "] FROM [Excel
8.0;DATABASE=" & "file name goes here" & ";HDR=No;IMEX=1].[" & "sheet name
goes here" & "$]"
Call CON.Execute(SQL)
It worked yesterday.
Today it does not...
....With the same excel file/sheet name/mdb file!!!
Please advise.
Guy
I use VB6,SP6,MDAC_TYP 2.8,ACCESS MDB FILE.
I use these two lines to import an Excel file into a table:
SQL = "SELECT * INTO [" & "table name goes here" & "] FROM [Excel
8.0;DATABASE=" & "file name goes here" & ";HDR=No;IMEX=1].[" & "sheet name
goes here" & "$]"
Call CON.Execute(SQL)
It worked yesterday.
Today it does not...
....With the same excel file/sheet name/mdb file!!!
Please advise.
Guy