Created
July 4, 2013 05:32
-
-
Save jakelosh/5925128 to your computer and use it in GitHub Desktop.
My supervisor at work was interested in archiving trades stored in Excel worksheets in one giant Excel database. I suggested using an Access database instead. What follows was based primarily on a response from from HansUp on StackOverflow.com to a user with a question similar to mine (http://goo.gl/D#EUk). This stub imports the data stored in t…
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Public Sub ImportExcelWorksheetData() | |
Dim strPath As String | |
strPath = "C:\Documents and Settings\Some Folder\temp.xls" | |
DoCmd.TransferSpreadsheet acImport, , "tblTemp", _ | |
strPath, True | |
End Sub |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment