Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4
Default Data from Access

I want to take the data from an Access table and update a sheet where I
already have data which is used to feed quite a few pivot tables (380 to be
exact). After this I want to update all the pivot tables to reflect the
changes. I already know how to systematically go through the pivot tables on
each sheet. How do I pull in the data from access? I am using access XP (the
db is 2000 by default) and Excel XP. Any help you can provide would be great!
Thanks!
--
Anthony White

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,163
Default Data from Access

The easiest way to do this is using MSQuery - Data menu, Get External Data,
New Database Query (at least in Excel 2000 - perhaps menu items have changed
in XP). It will ask for your data source, choose MS Access and specify the db
file. You can set up a query in MSQuery (which looks and acts similar to
Query design in Access), then use the menu item "Return Data to Microsoft
Excel." The data comes back in list format. Right-click on the list and you
can set the query properties - or refresh the data at any time. You can also
set it to refresh the data every time the Excel file opens, or you can use
VBA to refresh. Once set up it is pretty handy and should let you get the
current data whenever you need it - you can then use it to feed all those
PivotTables (geez, glad I didn't need to set them all up!).

HTH - K Dales


"Tony White" wrote:

I want to take the data from an Access table and update a sheet where I
already have data which is used to feed quite a few pivot tables (380 to be
exact). After this I want to update all the pivot tables to reflect the
changes. I already know how to systematically go through the pivot tables on
each sheet. How do I pull in the data from access? I am using access XP (the
db is 2000 by default) and Excel XP. Any help you can provide would be great!
Thanks!
--
Anthony White

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,173
Default Data from Access

You can select an external data source straight from the pivot table menu
option too. Saves bringing it into Excel as data and then summarizing.
This also 'gets over' the 65536 row limit as, providing you don't display
more than 32,000 records, the underlying data can be 100,000s of records.

--
HTH
Nick Hodge
Microsoft MVP - Excel
Southampton, England
HIS


"K Dales" wrote in message
...
The easiest way to do this is using MSQuery - Data menu, Get External
Data,
New Database Query (at least in Excel 2000 - perhaps menu items have
changed
in XP). It will ask for your data source, choose MS Access and specify the
db
file. You can set up a query in MSQuery (which looks and acts similar to
Query design in Access), then use the menu item "Return Data to Microsoft
Excel." The data comes back in list format. Right-click on the list and
you
can set the query properties - or refresh the data at any time. You can
also
set it to refresh the data every time the Excel file opens, or you can use
VBA to refresh. Once set up it is pretty handy and should let you get the
current data whenever you need it - you can then use it to feed all those
PivotTables (geez, glad I didn't need to set them all up!).

HTH - K Dales


"Tony White" wrote:

I want to take the data from an Access table and update a sheet where I
already have data which is used to feed quite a few pivot tables (380 to
be
exact). After this I want to update all the pivot tables to reflect the
changes. I already know how to systematically go through the pivot tables
on
each sheet. How do I pull in the data from access? I am using access XP
(the
db is 2000 by default) and Excel XP. Any help you can provide would be
great!
Thanks!
--
Anthony White



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
using Access Data Scott_D Charts and Charting in Excel 1 April 15th 10 07:07 PM
Removing Data Tables formed from importing data from Access Andrea Jones Excel Discussion (Misc queries) 0 April 10th 08 12:01 PM
Can Excel access data from Access?! Al Excel Discussion (Misc queries) 5 April 5th 08 03:52 PM
Access data -work in Excel- save in Access s_u_resh Excel Programming 1 October 25th 04 12:52 PM
Import data from Access Data Base Kelly[_3_] Excel Programming 2 August 20th 03 12:44 AM


All times are GMT +1. The time now is 02:18 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"