import excel to acess-just a mess
- From: michellesihdu@xxxxxxxxxx
- Date: Sun, 16 Nov 2008 14:32:48 -0800 (PST)
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
.
- Follow-Ups:
- Re: import excel to acess-just a mess
- From: Douglas J. Steele
- Re: import excel to acess-just a mess
- Prev by Date: Re: Unparsable Record
- Next by Date: Re: import excel to acess-just a mess
- Previous by thread: i need help
- Next by thread: Re: import excel to acess-just a mess
- Index(es):
Relevant Pages
|