Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations MikeeOK on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

copy data from excel to access db?

Status
Not open for further replies.

thepunisher

Programmer
Jul 23, 2004
108
IE
How do i copy the data from excel spreadsheet to an access db, using vba?
 
1. Are you doing this in Access or Excel?

2. Have you looked at just using the XL worksheet as a linked table in Access?
 
Go into Help. It's quicker than posting here.

Or... create a Macro (transferSpreadsheet) and save it as VBA, then look at the code.

 
Im doing it in Excel, so the linked table in Access probly wont work.

transferSpreadsheet was one possibility i tried
, but it didnt seem to do anything for me.

But im resigned to inserting them using an excel query executed from excel.
 
I cant, i need to keep it in excel for the user, i wish it was in acccess though!

It needs to be sent from excel to access because of the number of records. It is near 120000 or more. They all have to be clumped together so the user can see records for an entire year.
 
the number of records. It is near 120000 or more
Which version of Excel are you using ?
AFAIK, more than 65536 rows is a big problem for any version of version of Excel.

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ222-2244
 
Excel 2002.

Chief Dan George-Get ready little lady, hell is coming to breakfast
 
Ask the Excel help engine for limitations.
Max sheet size: 65536 rows x 255 columns.

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ222-2244
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top