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

I have run an Access query, giving me 1000 rows and 10 columns of data.

Starting from an Excel blank sheet, I would like to:

1. Paste the Access query result into cell A1 as text

2. Place the SQL code for the active Access query in a text box or comment
box

Thanks for any help on this.

regards
Daniel

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 791
Default Access to Excel

First you need to set up an ODBC Data Source using your ODBC Administrator in
the Administrator Tool in your Control Pannel.
Once you setting up pointing to your access database, you can query your
data using the Data Menu from the Main toolbar:

Data-Import External Data-New Database Query

And you will get a dialog box where you select the Database connection you
just setup using the ODBC Administrator, and just follow the on-screen
directions.

Michael,

Please rate this posting if it was useful.


"Daniel Bonallack" wrote:

I have run an Access query, giving me 1000 rows and 10 columns of data.

Starting from an Excel blank sheet, I would like to:

1. Paste the Access query result into cell A1 as text

2. Place the SQL code for the active Access query in a text box or comment
box

Thanks for any help on this.

regards
Daniel

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 110
Default Access to Excel

Hi Michael - thanks for the reply, but I don't think this is what I want. I
would like physically copy the data that has already been run in Access (we
have our reasons for this), and bring it back into Excel


"Michael" wrote:

First you need to set up an ODBC Data Source using your ODBC Administrator in
the Administrator Tool in your Control Pannel.
Once you setting up pointing to your access database, you can query your
data using the Data Menu from the Main toolbar:

Data-Import External Data-New Database Query

And you will get a dialog box where you select the Database connection you
just setup using the ODBC Administrator, and just follow the on-screen
directions.

Michael,

Please rate this posting if it was useful.


"Daniel Bonallack" wrote:

I have run an Access query, giving me 1000 rows and 10 columns of data.

Starting from an Excel blank sheet, I would like to:

1. Paste the Access query result into cell A1 as text

2. Place the SQL code for the active Access query in a text box or comment
box

Thanks for any help on this.

regards
Daniel

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
How do I access the access data via Excel 2002 with auto update ? karthik Excel Programming 1 February 9th 07 01:56 PM
Importing data from Access to Excel, but I need to vary the table from Access Liz L. Excel Programming 3 June 6th 06 02:12 AM
export access to excel. change access & update excel at same time fastcar Excel Discussion (Misc queries) 0 June 24th 05 09:27 PM
Access data -work in Excel- save in Access s_u_resh Excel Programming 1 October 25th 04 12:52 PM
Getting Access Error Messages when running Access through Excel Dkline[_2_] Excel Programming 0 October 12th 04 09:35 PM


All times are GMT +1. The time now is 12:11 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"