How to export more than 65000 rcds from Access to Excel 2007

SKV

Active Member
Joined
Jan 7, 2009
Messages
257
I have a table with 500,000 rcds and on exporting it only exports 65000 rcds.
Please advice

Thanks
SKV
 
I have Access 2007, I tried both the options; copy pasting and using export function by right click on the table

is there any other way???
 
Upvote 0
I have Access 2007, I tried both the options; copy pasting and using export function by right click on the table

is there any other way???

Yeah, try using my Export code. It worked for me with a set of 250,000 records going into Excel 2007 which can handle it.

Put the code from here into a standard module, name the module basExport and don't modify the function in any way - at least not at first.

Make sure you have a DAO reference set in Access.
 
Upvote 0
tried to paste and run your code but not able to run it. I am just basic in VBA.

What DAO should I activate (3.6 object library)? I tried this and getting error "Name conflicts with existing module/prject or object library"

Please advice
 
Upvote 0
tried to paste and run your code but not able to run it. I am just basic in VBA.

What DAO should I activate (3.6 object library)? I tried this and getting error "Name conflicts with existing module/prject or object library"

Please advice

The DAO you already have a reference to then (it is ACE - the new database engine for 2007, I specified that as some don't have a reference set).

So, where did you paste it and how did you try to run it?
 
Upvote 0
I created a new module and pasted your code there.

Can you call me at 980-236-2304 and walk me through
 
Upvote 0
Unfortunately no. I'm at work right now and doing this stuff in between tasks as I wait for things to happen.

So, you didn't answer the part about how did you call it and what error happens when you try to run it.
 
Upvote 0

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top