Re: $$Excel-Macros$$ Copy Excel Sheets to Access Tables

2014-01-23 Thread ashish koul
try something like this Sub import_excel_file() Dim sample_table As String sample_table = "temp_table_name" ' import a specific range from a worksheet DoCmd.TransferSpreadsheet acImport, , sample_table, "C:\Users\ashishkoul\Desktop\learn\sales_detail.xlsx", True, "sales_detail$a1:d10" ' import who

Re: $$Excel-Macros$$ Copy Excel Sheets to Access Tables

2014-01-23 Thread Ricardo®
Hi, suits your situation: https://app.box.com/s/zxhxpoitad7sih0wpigl https://app.box.com/s/szaxukie20xnutka8f3e Basole. 2014/1/23 fahad hassan > Hey i want to ask a question regarding data transferring from excel to > access. > I have 4 excel sheets with data in it. i want to copy each of th

$$Excel-Macros$$ Copy Excel Sheets to Access Tables

2014-01-23 Thread fahad hassan
Hey i want to ask a question regarding data transferring from excel to access. I have 4 excel sheets with data in it. i want to copy each of the sheet into a table (which is already existing) in Access. Can someone please help me with a method to perform this in a single step??? -- Are you =EXP