PC Review


Reply
Thread Tools Rate Thread

Access Table import

 
 
SmartyPants
Guest
Posts: n/a
 
      19th Feb 2007
What kind of code could I use to import a table from access to a
worksheet in excel?

I'm thinking of opening the database, opening the table, select all,
copy, and then pasting into my excel file.

Is there an easier way to do this?

The Access table will change on a weekly basis, I want to be able to
reload the new info (into Excel) at the push of a button.

Maybe some kind of office links combo?

Any help is appreciated

 
Reply With Quote
 
 
 
 
=?Utf-8?B?SmltIFRob21saW5zb24=?=
Guest
Posts: n/a
 
      19th Feb 2007
What you are looking for is to query the table and bring back all records.
Data -> Import External Data -> New Database Query. Keep in mind that XL maxs
out at 65,536 rows so your table can not exceed that number of records. If it
does then you need to define some criteria for your query or you can connect
a pivot table to the database and then you are no longer constrained to
65,536 records.
--
HTH...

Jim Thomlinson


"SmartyPants" wrote:

> What kind of code could I use to import a table from access to a
> worksheet in excel?
>
> I'm thinking of opening the database, opening the table, select all,
> copy, and then pasting into my excel file.
>
> Is there an easier way to do this?
>
> The Access table will change on a weekly basis, I want to be able to
> reload the new info (into Excel) at the push of a button.
>
> Maybe some kind of office links combo?
>
> Any help is appreciated
>
>

 
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
Using ADO to import Access table dksaluki Microsoft Excel Programming 1 4th Jan 2008 02:57 AM
Import a Table into Access gregarican Microsoft C# .NET 2 19th Jun 2007 09:18 PM
??? how to import excel table to existing access table =?Utf-8?B?SmF5bGlu?= Microsoft Access External Data 5 1st Mar 2007 02:27 PM
Re: need vba to import table into Access Steve Schapel Microsoft Access Macros 0 5th Sep 2003 07:55 PM
need vba to import table into Access Jim/Chris Microsoft Access Macros 0 4th Sep 2003 08:27 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 08:37 PM.