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

I have an Excel (2003) spreadhseet and am trying to automatically import data
from an Access (2003) query. Data import External DataNew Database Query.

However the order of the columns in the crosstab query are important and
they do not replicate the order in Excel as they are in the access query. How
can I specify what order I wish them to be in within Excel so that it matches
the Access query structure?

Thanks
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 9,101
Default Import Data from Access query

when yo uperform the query the 1st menu after you choose the database
contains the tagbles in the database. Press the plus sign. then choose the
columns you want one at a time in the porder you want them to appear in the
excel spreadsheet.

"Andy" wrote:

I have an Excel (2003) spreadhseet and am trying to automatically import data
from an Access (2003) query. Data import External DataNew Database Query.

However the order of the columns in the crosstab query are important and
they do not replicate the order in Excel as they are in the access query. How
can I specify what order I wish them to be in within Excel so that it matches
the Access query structure?

Thanks

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 414
Default Import Data from Access query

This worked on the query that I was looking at, but not another :-(. Neither
clinking the + to expand, nor to move all fields over from the query show
any columns at all. It's almost like the query has no columns!

"joel" wrote:

when yo uperform the query the 1st menu after you choose the database
contains the tagbles in the database. Press the plus sign. then choose the
columns you want one at a time in the porder you want them to appear in the
excel spreadsheet.

"Andy" wrote:

I have an Excel (2003) spreadhseet and am trying to automatically import data
from an Access (2003) query. Data import External DataNew Database Query.

However the order of the columns in the crosstab query are important and
they do not replicate the order in Excel as they are in the access query. How
can I specify what order I wish them to be in within Excel so that it matches
the Access query structure?

Thanks

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,123
Default Import Data from Access query

Hi Andy

Is ADO working correct for you ?
http://www.rondebruin.nl/accessexcel.htm

--

Regards Ron de Bruin
http://www.rondebruin.nl/tips.htm




"Andy" wrote in message ...
I have an Excel (2003) spreadhseet and am trying to automatically import data
from an Access (2003) query. Data import External DataNew Database Query.

However the order of the columns in the crosstab query are important and
they do not replicate the order in Excel as they are in the access query. How
can I specify what order I wish them to be in within Excel so that it matches
the Access query structure?

Thanks

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 414
Default Import Data from Access query

Whoa, you lost me there completely!

"Ron de Bruin" wrote:

Hi Andy

Is ADO working correct for you ?
http://www.rondebruin.nl/accessexcel.htm

--

Regards Ron de Bruin
http://www.rondebruin.nl/tips.htm




"Andy" wrote in message ...
I have an Excel (2003) spreadhseet and am trying to automatically import data
from an Access (2003) query. Data import External DataNew Database Query.

However the order of the columns in the crosstab query are important and
they do not replicate the order in Excel as they are in the access query. How
can I specify what order I wish them to be in within Excel so that it matches
the Access query structure?

Thanks




  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 9,101
Default Import Data from Access query

Ron was refering to a macro. Try opening up the database and see what is
really in the database with Access. Queries will return data not objects.
Make sure there is text data and not pictures or other objects in the
database. The database may have a password.

"Andy" wrote:

Whoa, you lost me there completely!

"Ron de Bruin" wrote:

Hi Andy

Is ADO working correct for you ?
http://www.rondebruin.nl/accessexcel.htm

--

Regards Ron de Bruin
http://www.rondebruin.nl/tips.htm




"Andy" wrote in message ...
I have an Excel (2003) spreadhseet and am trying to automatically import data
from an Access (2003) query. Data import External DataNew Database Query.

However the order of the columns in the crosstab query are important and
they do not replicate the order in Excel as they are in the access query. How
can I specify what order I wish them to be in within Excel so that it matches
the Access query structure?

Thanks


  #7   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 414
Default Import Data from Access query

Forgive me if I'm not grasping the right end of the straw. I;ve downloaded
the database and there is only an Orders table with 700 odd rows of data, no
macros or anything else???

"joel" wrote:

Ron was refering to a macro. Try opening up the database and see what is
really in the database with Access. Queries will return data not objects.
Make sure there is text data and not pictures or other objects in the
database. The database may have a password.

"Andy" wrote:

Whoa, you lost me there completely!

"Ron de Bruin" wrote:

Hi Andy

Is ADO working correct for you ?
http://www.rondebruin.nl/accessexcel.htm

--

Regards Ron de Bruin
http://www.rondebruin.nl/tips.htm




"Andy" wrote in message ...
I have an Excel (2003) spreadhseet and am trying to automatically import data
from an Access (2003) query. Data import External DataNew Database Query.

However the order of the columns in the crosstab query are important and
they do not replicate the order in Excel as they are in the access query. How
can I specify what order I wish them to be in within Excel so that it matches
the Access query structure?

Thanks

  #8   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 9,101
Default Import Data from Access query

You are fine. Performing a query from the worksheet if it gets you the data
you need thats great. Excel has a programming language (VBA - Visual Basic)
that can be uised to to enhance excel. Ron was refering to these advance
features. You don't need any advance features for your 1st database.

At the moment I don't know what you 2nd database looks like and why you are
having problems. that is why I recommended opening the 2nd database and see
what tables are available and the Columns that are available. it is easier
to open the datqabase and see it then to use the excel Import external data
method. Once you see the data in Access then it will be easier to design a
query to download the data.

"Andy" wrote:

Forgive me if I'm not grasping the right end of the straw. I;ve downloaded
the database and there is only an Orders table with 700 odd rows of data, no
macros or anything else???

"joel" wrote:

Ron was refering to a macro. Try opening up the database and see what is
really in the database with Access. Queries will return data not objects.
Make sure there is text data and not pictures or other objects in the
database. The database may have a password.

"Andy" wrote:

Whoa, you lost me there completely!

"Ron de Bruin" wrote:

Hi Andy

Is ADO working correct for you ?
http://www.rondebruin.nl/accessexcel.htm

--

Regards Ron de Bruin
http://www.rondebruin.nl/tips.htm




"Andy" wrote in message ...
I have an Excel (2003) spreadhseet and am trying to automatically import data
from an Access (2003) query. Data import External DataNew Database Query.

However the order of the columns in the crosstab query are important and
they do not replicate the order in Excel as they are in the access query. How
can I specify what order I wish them to be in within Excel so that it matches
the Access query structure?

Thanks

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
Database query to import from Access to Excel David T Excel Discussion (Misc queries) 0 August 31st 06 07:12 PM
access query to import to excel jazzydwit Excel Worksheet Functions 0 July 17th 06 02:03 AM
import data from an Access parameter query PluckyMo Excel Discussion (Misc queries) 2 April 12th 06 04:42 AM
Import from Access query with prompts Michele Excel Discussion (Misc queries) 0 September 28th 05 04:41 PM
Import query from Access Kmarie Excel Discussion (Misc queries) 2 May 21st 05 04:00 AM


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