M
Mike
I am working with an access database and about 800 excel files. What I need
to do is import these xls files into an access database. I really don't know
where to start with the macros, modules or vba's. The xls files all have the
same header info and there is only one sheet per xls file. I found this info
below on another post, but I am not sure how to get it to work, or if it will
even work in my situation.
Dim strFile As String
Dim strFolder As String
strFolder = "H:\Reporting\OrdersWaitingFraud\XL\"
strFile = Dir$(strFolder & "*.xls")
Do While Len(strFile) > 0
' put your code here to use the TransferText method
' The full path to the file will be strFolder & strFile
strFile = Dir$()
Loop
Thanks
to do is import these xls files into an access database. I really don't know
where to start with the macros, modules or vba's. The xls files all have the
same header info and there is only one sheet per xls file. I found this info
below on another post, but I am not sure how to get it to work, or if it will
even work in my situation.
Dim strFile As String
Dim strFolder As String
strFolder = "H:\Reporting\OrdersWaitingFraud\XL\"
strFile = Dir$(strFolder & "*.xls")
Do While Len(strFile) > 0
' put your code here to use the TransferText method
' The full path to the file will be strFolder & strFile
strFile = Dir$()
Loop
Thanks