microsoft Excel to ...
 

Subscribe now and choose from over 30 free gifts worth up to £49 - Plus get £25 to spend in our shop

[Closed] microsoft Excel to Access queries

3 Posts
4 Users
0 Reactions
59 Views
 mrmo
Posts: 10708
Free Member
Topic starter
 

could anyone provide an explanation of how to run a query in Excel of an Access Database.

I have come across the SQL.Request() formula and think it is the one i need but am a little unsure of the structure of the request


 
Posted : 18/02/2010 3:12 pm
Posts: 145
Free Member
 

Data > Import External Data > New Database query, find msaccess and then browse for your file.


 
Posted : 18/02/2010 3:19 pm
Posts: 6813
Full Member
 

You can write the query using MSQuery (look in the Program Files directory), save the query, then import it as above. It's too involved to explain in a post but really useful once you understand it. I've got spreadsheets interacting with Oracle and SQL databases and web pages using the functionality.


 
Posted : 18/02/2010 7:51 pm
Posts: 79
Free Member
 

If I want to bring back data into Excel using an Access query I'd use djglover's suggestion. To build a query directly in Excel from Access or SQLServer I do the same as stumpyjon ( which, as stumpyjon says, is a bit involved to explain here).


 
Posted : 18/02/2010 8:48 pm