I would like to inform you about an Excel function not many know about that helps you to return smaller amounts of data from a database:
The SQL.REQUEST() function gives you SQL Query functionality directly in Excel!
The use of this Function is a little in depth, so I am not going to try to explain it all in this thread.
If you want to know more about this function then go to the following website:
You can download an example Workbook at this link:
This is a great example and definately worth looking into. ;-)
You will need to activate or install the ODBC Add-in (XLODBC.XLA) to be able to use this function.
For those of you who have Excel XP, you need to know that the Excel ODBC Add-in is no longer included with Office XP, but you can download it from MS at this link:
I have experienced that this function works great for returning smaller amounts of data from Access databases. I say smaller amounts, but you can also return relatively larger amounts as well. But be warned, as with every Query process, the larger the data, the longer it takes to return the data.
I use this function to create "VLOOKUP()'s" from Access database. It has also come in really handy when creating reference tables for pivot tables and charts as well!![[thumbsup2] [thumbsup2] [thumbsup2]](/data/assets/smilies/thumbsup2.gif)
Enjoy, and have fun!
I hope this helps!
Peace!![[peace] [peace] [peace]](/data/assets/smilies/peace.gif)
Mike
Never say Never!!!
Nothing is impossible!!!
The SQL.REQUEST() function gives you SQL Query functionality directly in Excel!
The use of this Function is a little in depth, so I am not going to try to explain it all in this thread.
If you want to know more about this function then go to the following website:
You can download an example Workbook at this link:
This is a great example and definately worth looking into. ;-)
You will need to activate or install the ODBC Add-in (XLODBC.XLA) to be able to use this function.
For those of you who have Excel XP, you need to know that the Excel ODBC Add-in is no longer included with Office XP, but you can download it from MS at this link:
I have experienced that this function works great for returning smaller amounts of data from Access databases. I say smaller amounts, but you can also return relatively larger amounts as well. But be warned, as with every Query process, the larger the data, the longer it takes to return the data.
I use this function to create "VLOOKUP()'s" from Access database. It has also come in really handy when creating reference tables for pivot tables and charts as well!
![[thumbsup2] [thumbsup2] [thumbsup2]](/data/assets/smilies/thumbsup2.gif)
Enjoy, and have fun!
I hope this helps!
Peace!
![[peace] [peace] [peace]](/data/assets/smilies/peace.gif)
Mike
Never say Never!!!
Nothing is impossible!!!