By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
434,903 Members | 2,042 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 434,903 IT Pros & Developers. It's quick & easy.

Transfer Spreadsheet method in visual basic

P: 5
hello everyone! i have a problem in coding for my system...i want to know how could i use the
Expand|Select|Wrap|Line Numbers
  1. Const transferDir = "c:\my documents\"
  2. rangeName = "Companies"
  3. tableName = "Companies"
  4. DoCmd.RunSQL "delete from " & tableName
  5. DoCmd.TransferSpreadsheet acImport, 8, tableName, _
  6. transferDir & "OriginalData.xls", True, rangeName 
i want this code to be transferred.. which i will not use SQL as my backend but MS Access....please i need your help guys....thanks
Mar 1 '07 #1
Share this Question
Share on Google+
1 Reply

P: 1,646
As you are using vba and access, I have moved your question to the access forum
Mar 4 '07 #2

Post your reply

Sign in to post your reply or Sign up for a free account.