PC Review


Reply
Thread Tools Rate Thread

How do I export data from Access to Excel????

 
 
nisgore
Guest
Posts: n/a
 
      10th Oct 2006
I'm trying to export large groups of data to Excel to work with, then
save as a csv file. The file sizes range from 4K records all the way to
the 65K limit for Excel.

-- I've tried cut and paste, but when pasting to excel, Excel freezes
for anything over about 5K records
-- Tried saving a query as Excel, but says there are too many records
to export, even if it is only say 10K!!! which is nowhere near Excel's
65K limit.
-- Tried saving as XML, but when opening file in Excel, Excel seems to
freeze when opening the file.
-- Same results with RTF
-- Text is a worthless joke.
-- Don't know much about the other formats, perhaps one of you gurus
can recommend a format thats easily interchangeable.??
-- Also, if you can recommend a good book for working with the
particulars of Access that might have this sort of detailed information
in it that would be great too.

Does anyone know how to make this work?? I don't mind even doing data
in chuncks, but of course it would be easier to save files in one shot
of course adhering to Excel's 65K limit.

I have approx 400K of data in Access that I need to get back into Excel
in small chuncks so any help with this would be greatly appreciated.

Thanks
Mike

 
Reply With Quote
 
 
 
 
Van T. Dinh
Guest
Posts: n/a
 
      10th Oct 2006
Check Access VB Help on the TransferSpreadsheet Method.

--
HTH
Van T. Dinh
MVP (Access)



"nisgore" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> I'm trying to export large groups of data to Excel to work with, then
> save as a csv file. The file sizes range from 4K records all the way to
> the 65K limit for Excel.
>
> -- I've tried cut and paste, but when pasting to excel, Excel freezes
> for anything over about 5K records
> -- Tried saving a query as Excel, but says there are too many records
> to export, even if it is only say 10K!!! which is nowhere near Excel's
> 65K limit.
> -- Tried saving as XML, but when opening file in Excel, Excel seems to
> freeze when opening the file.
> -- Same results with RTF
> -- Text is a worthless joke.
> -- Don't know much about the other formats, perhaps one of you gurus
> can recommend a format thats easily interchangeable.??
> -- Also, if you can recommend a good book for working with the
> particulars of Access that might have this sort of detailed information
> in it that would be great too.
>
> Does anyone know how to make this work?? I don't mind even doing data
> in chuncks, but of course it would be easier to save files in one shot
> of course adhering to Excel's 65K limit.
>
> I have approx 400K of data in Access that I need to get back into Excel
> in small chuncks so any help with this would be greatly appreciated.
>
> Thanks
> Mike
>



 
Reply With Quote
 
Van T. Dinh
Guest
Posts: n/a
 
      10th Oct 2006
I have just noted the 400K ...

The more effcient way is to manipulate the data IN Access (of course, it
depends on what kinds of manipulation you need) and then export the data to
csv format in ONE go using the TransferText Method.

Check Access VBA for the TransferText Method.

--
HTH
Van T. Dinh
MVP (Access)



"nisgore" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> I'm trying to export large groups of data to Excel to work with, then
> save as a csv file. The file sizes range from 4K records all the way to
> the 65K limit for Excel.
>
> -- I've tried cut and paste, but when pasting to excel, Excel freezes
> for anything over about 5K records
> -- Tried saving a query as Excel, but says there are too many records
> to export, even if it is only say 10K!!! which is nowhere near Excel's
> 65K limit.
> -- Tried saving as XML, but when opening file in Excel, Excel seems to
> freeze when opening the file.
> -- Same results with RTF
> -- Text is a worthless joke.
> -- Don't know much about the other formats, perhaps one of you gurus
> can recommend a format thats easily interchangeable.??
> -- Also, if you can recommend a good book for working with the
> particulars of Access that might have this sort of detailed information
> in it that would be great too.
>
> Does anyone know how to make this work?? I don't mind even doing data
> in chuncks, but of course it would be easier to save files in one shot
> of course adhering to Excel's 65K limit.
>
> I have approx 400K of data in Access that I need to get back into Excel
> in small chuncks so any help with this would be greatly appreciated.
>
> Thanks
> Mike
>



 
Reply With Quote
 
nisgore
Guest
Posts: n/a
 
      10th Oct 2006
so this has to be done programatically?? I'd prefer to avoid using VBA
for this matter. Is it possible to do this without using VBA???

 
Reply With Quote
 
=?Utf-8?B?VG9tIFdpY2tlcmF0aA==?=
Guest
Posts: n/a
 
      10th Oct 2006
Hi nisgore,

If you really must, you can use a *cough* macro to export to Excel. Check
out the TransferSpreadsheet action in macros. Change the transfer type to
Export, and set the other options appropriately.

One of the main problems with using macros (Access 2003 and all prior
versions) is that you cannot trap for errors and handle them gracefully. A
user will see a big ugly macro error dialog if your macro encounters an
error. Here is a quote that I will share with you (valid for Access 2003 and
all prior versions; the new Access 2007 has a lot more power available in
macros, and one can trap for errors in A2007).

From: "Inside Relational Databases, 2nd Edition, by Mark Whitehorn and Bill
Marklyn, published by Springer, p 151)

"Macros offer the next level down, extending the functionality of the GUI.
Macros are still limited, however, and do not provide anything like the
enormous flexibility of a programming language. Both the macro and the
programming languages take some effort to learn and, surprisingly, often
require relatively different skills; in other words, a good working knowledge
of macros may not make it much easier to convert to using the programming
language. Perhaps even more surprisingly, I do not believe that programming
is fundamentally more difficult to learn. Macros are easier to use but not by
orders of magnitude."

"If you are new to RDBMSs, I suggest (with as much deference as possible)
that you may well not be in a position to judge whether you need macros or
programming. In that case, my advice is clear. Unless you are sure that your
needs really are simple, don't bother learning to use macros. Once you find
that you need more than the GUI offers, go straight to the programming
language. In this way you avoid the pain of climbing one learning curve only
to discover that the view from the top is unsatisfactory and another climb
awaits you."



Tom Wickerath
Microsoft Access MVP

http://www.access.qbuilt.com/html/ex...tributors.html
http://www.access.qbuilt.com/html/search.html
__________________________________________

"nisgore" wrote:

> so this has to be done programatically?? I'd prefer to avoid using VBA
> for this matter. Is it possible to do this without using VBA???

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
ACCESS REPORT DATA EXPORTED TO EXCEL DID NOT EXPORT DATA Access Report Microsoft Access Reports 0 7th Jan 2010 08:39 PM
Export Access Data to Excel/Reimport modified data into Access mlloulou Microsoft Access External Data 5 9th Feb 2009 12:09 PM
Access Export of data to Excel using VBA - data looks awful JudyU Microsoft Access External Data 4 16th Apr 2008 03:06 PM
Export Excel Data to Access ielmrani via AccessMonster.com Microsoft Access External Data 2 12th Dec 2006 08:40 PM
Export Data from Data Access Page to Excel =?Utf-8?B?QnJvbWxleQ==?= Microsoft Access 1 12th Jun 2006 05:28 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:01 AM.