M
michellesihdu
Hi
I am trying to import, or should say read, an excelarc to later work
wiht it for my accessDB. but this ends up in just a mess, i.e when I
look at the variable strSQLImport it's not even readable. Anyone knows
what I've done wrong.
Option Compare Database
Function RunImportExcel()
Dim strPathFile As String
Dim strFile As String
Dim strLine As String
Dim strPath As String
Dim theStr As String
Dim blnHasFieldNames As Boolean
Dim strSQLImport As String
strDir = Forms![importWhat]![dir] & "/"
strFile = Forms![importWhat]![file]
strLine = strDir & strFile & ".xls"
tblImportToSplit = strLine
Open tblImportToSplit For Input As #1
Do While Not EOF(1)
Line Input #1, strSQLImport
Thanks in advance for an anwser
/Michelle
I am trying to import, or should say read, an excelarc to later work
wiht it for my accessDB. but this ends up in just a mess, i.e when I
look at the variable strSQLImport it's not even readable. Anyone knows
what I've done wrong.
Option Compare Database
Function RunImportExcel()
Dim strPathFile As String
Dim strFile As String
Dim strLine As String
Dim strPath As String
Dim theStr As String
Dim blnHasFieldNames As Boolean
Dim strSQLImport As String
strDir = Forms![importWhat]![dir] & "/"
strFile = Forms![importWhat]![file]
strLine = strDir & strFile & ".xls"
tblImportToSplit = strLine
Open tblImportToSplit For Input As #1
Do While Not EOF(1)
Line Input #1, strSQLImport
Thanks in advance for an anwser
/Michelle