M
mhmaid
I everybody
I have about 300 files that was created by a system and saved as tab
delimited but in excel sheets
each excel sheet contains two rows one for the heading the other for the
data of a patient , and there are many columns
now I want to gather all the data and keep in one table in access .
I can import data from any one of the excel sheets manually to access , but
only after opening the excel sheet and saving it as workbook.
although the file is excel sheet buts is extension is txt
so what i have to append the data manually is
1.open the excel sheet and save as workbook
2.import the data
now my question is, how can i do the two steps by code.
step one i have to do as access will not accept importing , is says its not
in the correct format.
I dont know how system generated the files but its like that , excel sheets
with extention as txt
my file are kep in a folder in c drive called mdis
any help
thanks
I have about 300 files that was created by a system and saved as tab
delimited but in excel sheets
each excel sheet contains two rows one for the heading the other for the
data of a patient , and there are many columns
now I want to gather all the data and keep in one table in access .
I can import data from any one of the excel sheets manually to access , but
only after opening the excel sheet and saving it as workbook.
although the file is excel sheet buts is extension is txt
so what i have to append the data manually is
1.open the excel sheet and save as workbook
2.import the data
now my question is, how can i do the two steps by code.
step one i have to do as access will not accept importing , is says its not
in the correct format.
I dont know how system generated the files but its like that , excel sheets
with extention as txt
my file are kep in a folder in c drive called mdis
any help
thanks